NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) select sqlite_version(*)  (41.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (41.1ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (3.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935'  (0.1ms) select sqlite_version(*)  (4.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (2.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.2ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.2ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.2ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.2ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.2ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.3ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.2ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.2ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.2ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.2ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.2ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.2ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.4ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.2ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (37.7ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (4.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.8ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:05 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 17:36:05 UTC +00:00]]  (3.7ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (50.5ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.5ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (3.9ms) insert into data_migrations (version) values ('20110609150135')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["value", "ext-all.css"]]  (0.2ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 17:36:06.887820' WHERE "preference_types"."id" = 3  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 17:36:06.890524' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 17:36:06.892374' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 17:36:06.893745' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:06 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.2ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (4.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (49.1ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 17:36:07.301754', "updated_at" = '2011-12-14 17:36:07.301754' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]]  (0.1ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 17:36:07.391796', "updated_at" = '2011-12-14 17:36:07.391796' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:07.548033' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:07.558195' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 17:36:07.559173' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:07.575366' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 17:36:07.576403' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'qEgo5SnsW5N6iyADzqVx', "crypted_password" = '$2a$10$C33mqnXTi72qQ1/DvNPDP.Whzzfu6Ys.EgZs9p/La1Z7g/7fGe.OW', "updated_at" = '2011-12-14 17:36:07.716954' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (52.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["username", "truenorth"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:07.792998' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:07.803486' WHERE "user_preferences"."id" = 5  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 17:36:07.804451' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:07 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:07.817796' WHERE "user_preferences"."id" = 6  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 17:36:07.818689' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'z9pNYaa1xrrU6PWCFxKV', "crypted_password" = '$2a$10$EfZsGAK0fe4mY5OREYXSY.u4dkJiImg6BEBEWXD7/O/Ke1dYfZKaO', "updated_at" = '2011-12-14 17:36:07.949668' WHERE "users"."id" = 2  (0.0ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 17:36:07.951037' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (5.4ms) insert into data_migrations (version) values ('20110728201729')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]]  (5.1ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.6ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["version", #]]  (4.6ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.4ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.6ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:36:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.6ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (24.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:09 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:36:09 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:09 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:09 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:36:09.706490', "updated_at" = '2011-12-14 17:36:09.706490' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:09 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:09 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:09 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["crypted_password", "$2a$10$3zhcpQJ6IeIyHS3Kf62jY.dQMpL0RVmEGuvEqtrhTKaqFyeDYXRga"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (21.3ms) Sent mail to user1@portablemind.com (148ms) Date: Wed, 14 Dec 2011 12:36:10 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8de8a9c41a_1923816e04d4966a0@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00]] SQL (0.8ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:10.879803' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:10.897114' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:36:10.898230' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:10 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:10.916438' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:36:10.917449' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:36:10.919485', "updated_at" = '2011-12-14 17:36:10.919758' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:36:11.015984', "updated_at" = '2011-12-14 17:36:11.016733' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 74ms (Views: 60.0ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:36:11.024049', "updated_at" = '2011-12-14 17:36:11.024049' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["crypted_password", "$2a$10$9O0xeSu4ce.v85fKgFW06ehVtoXAh/786u7hH/EaJ5ZZp0V5hvMUC"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] Sent mail to user2@portablemind.com (9ms) Date: Wed, 14 Dec 2011 12:36:11 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8de8b221b4_1923816e04d496783@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.9ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:11.163230' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:11.176035' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:36:11.177122' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:11.192101' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:36:11.193044' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:36:11.195017', "updated_at" = '2011-12-14 17:36:11.195288' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:36:11.204059', "updated_at" = '2011-12-14 17:36:11.204059' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["crypted_password", "$2a$10$MwIwocVEWiQ1mbkas7dRiemKOxe7R.tyseO5xf9AfbgHpitKkQpu."], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:36:11 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8de8b4e2d1_1923816e04d496835@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.2ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:11.341594' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.2ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:11.415845' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:36:11.416882' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:11.432702' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:36:11.433710' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:36:11.435735', "updated_at" = '2011-12-14 17:36:11.436029' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:36:11.440359', "updated_at" = '2011-12-14 17:36:11.440844' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:36:11.447337', "updated_at" = '2011-12-14 17:36:11.447337' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["crypted_password", "$2a$10$XsuHAKqvVdeBth22gRww5OH6BcVf8CFb6O879dmFUGKnIWUOvYxFW"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:36:11 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8de8b890ba_1923816e04d496976@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:11.582576' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:11.594651' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:36:11.595609' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:11.611385' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:36:11.612424' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:36:11.614571', "updated_at" = '2011-12-14 17:36:11.614864' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:36:11.773663', "updated_at" = '2011-12-14 17:36:11.774275' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (5.3ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:36:12.009506', "updated_at" = '2011-12-14 17:36:12.009506' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:36:12.062855', "updated_at" = '2011-12-14 17:36:12.062855' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:36:12.168805', "updated_at" = '2011-12-14 17:36:12.168805' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:36:12.202808', "updated_at" = '2011-12-14 17:36:12.202808' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:36:12.272040', "updated_at" = '2011-12-14 17:36:12.272040' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] SQL (0.4ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] SQL (0.4ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"  Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]]  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 3], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:12.523202' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:12.535218' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:36:12.536191' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:36:12 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:36:12.551541' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:36:12.552521' WHERE "app_containers"."id" = 6 Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 3 LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 5 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 5 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1  (0.0ms) SAVEPOINT active_record_1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" INNER JOIN "capabilities_capable_models" ON "capable_models"."id" = "capabilities_capable_models"."capable_model_id" WHERE "capabilities_capable_models"."capability_id" = 3  (0.4ms) DELETE FROM "capabilities_capable_models" WHERE "capabilities_capable_models"."capability_id" = 3 AND "capabilities_capable_models"."capable_model_id" IN (1) SQL (0.1ms) DELETE FROM "capabilities" WHERE "capabilities"."id" = ? [["id", 3]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 15 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 15]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" INNER JOIN "capabilities_capable_models" ON "capable_models"."id" = "capabilities_capable_models"."capable_model_id" WHERE "capabilities_capable_models"."capability_id" = 4  (0.1ms) DELETE FROM "capabilities_capable_models" WHERE "capabilities_capable_models"."capability_id" = 4 AND "capabilities_capable_models"."capable_model_id" IN (1) SQL (0.1ms) DELETE FROM "capabilities" WHERE "capabilities"."id" = ? [["id", 4]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 4 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 16 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 16]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" INNER JOIN "capabilities_capable_models" ON "capable_models"."id" = "capabilities_capable_models"."capable_model_id" WHERE "capabilities_capable_models"."capability_id" = 5  (0.1ms) DELETE FROM "capabilities_capable_models" WHERE "capabilities_capable_models"."capability_id" = 5 AND "capabilities_capable_models"."capable_model_id" IN (1) SQL (0.1ms) DELETE FROM "capabilities" WHERE "capabilities"."id" = ? [["id", 5]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 5 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 17 AND "roles_secured_models"."role_id" IN (1) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 17]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1  (0.1ms) SELECT COUNT(*) FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types"  SQL (0.2ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 1]] SQL (0.1ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 3]] SQL (0.1ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 4]] SQL (0.1ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 5]] SQL (0.1ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 6]] SQL (0.1ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 7]] AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 5 SQL (0.2ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 6 SQL (0.0ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 6]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 6 SQL (0.0ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 6]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SQL (0.0ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) select sqlite_version(*)  (35.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.2ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.2ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.1ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.2ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.2ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.2ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.1ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (39.6ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (2.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.3ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]]  (3.5ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (3.4ms) insert into data_migrations (version) values ('20110609150135')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 17:43:27 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.2ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.6ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 17:43:28.195729' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 17:43:28.198277' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 17:43:28.200056' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 17:43:28.201456' WHERE "preference_types"."id" = 2 NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (46.1ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (4.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (49.0ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 17:43:28.596710', "updated_at" = '2011-12-14 17:43:28.596710' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]]  (0.1ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 17:43:28.685741', "updated_at" = '2011-12-14 17:43:28.685741' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:28.838666' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:28.848297' WHERE "user_preferences"."id" = 2  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 17:43:28.849193' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:28 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:28.865248' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 17:43:28.866271' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'xGVGdFBLCy1ozP2HZyFU', "crypted_password" = '$2a$10$sMYXDBbdh0Hz2y7XN2w5rOCEuMi2bPNcrZadgnFhuJYbCYT0aodqm', "updated_at" = '2011-12-14 17:43:29.005803' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (51.9ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["username", "truenorth"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:29.080998' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:29.090981' WHERE "user_preferences"."id" = 5  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 17:43:29.091890' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:29.105417' WHERE "user_preferences"."id" = 6  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 17:43:29.106328' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'EhVsAg7qhSq4w4zsFob4', "crypted_password" = '$2a$10$yzeYgvi0BHXdTOOIqe3EqeYFVHVtHqsLUKv8GD7Ud4fsDOYnn0NiW', "updated_at" = '2011-12-14 17:43:29.235796' WHERE "users"."id" = 2  (0.1ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 17:43:29.237027' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (5.1ms) insert into data_migrations (version) values ('20110728201729')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]]  (3.4ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.3ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["version", #]]  (3.2ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.4ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.3ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:43:29 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.3ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (24.9ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:43:31.016071', "updated_at" = '2011-12-14 17:43:31.016071' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["crypted_password", "$2a$10$0iaHKdzFrqhC0IMKpFrhF.J9.KTqZucEwN.Un4aF1HiDIlJ3NOpPu"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:43:31 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (368.3ms) Sent mail to user1@portablemind.com (140ms) Date: Wed, 14 Dec 2011 12:43:32 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e0443a569_1954832ba524337da@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.5ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:32.480651' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:32.497319' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:43:32.498416' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:32.516400' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:43:32.517380' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:43:32.519520', "updated_at" = '2011-12-14 17:43:32.519817' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:43:32.559683', "updated_at" = '2011-12-14 17:43:32.560318' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 4.6ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:43:32.568045', "updated_at" = '2011-12-14 17:43:32.568045' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["crypted_password", "$2a$10$cCrmTPXMTgw.PKeDArufqOY5GvBAQymBZtJlRbC00oLVstQMANTm2"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:43:32 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e044b467b_1954832ba52433863@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:32.760534' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", 3]]  (1.0ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:32.772780' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:43:32.774827' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:32.790233' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:43:32.791188' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:43:32.793148', "updated_at" = '2011-12-14 17:43:32.793416' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:43:32.802355', "updated_at" = '2011-12-14 17:43:32.802355' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["crypted_password", "$2a$10$rrRMmq0sBsHl24RNxn37rO8MuJqsHcwZwTFD5gPUWFWRmH7/njTzy"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:43:32 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e044dfb1b_1954832ba52433996@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:32.937631' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:32.949579' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:43:32.950550' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:32 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:33.027890' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:43:33.029074' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:43:33.031213', "updated_at" = '2011-12-14 17:43:33.031482' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:43:33.035711', "updated_at" = '2011-12-14 17:43:33.036131' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:43:33.043111', "updated_at" = '2011-12-14 17:43:33.043111' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["crypted_password", "$2a$10$Y0g8XvWxGSGpEVkC9KEAtu46U6kGWNuTxgAYlQ8ID636RXwb6kFXC"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:43:33 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e04526c24_1954832ba524340d8@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:33.180303' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:33.192314' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:43:33.193250' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:33.208705' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:43:33.209668' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:43:33.211714', "updated_at" = '2011-12-14 17:43:33.212003' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:43:33.372147', "updated_at" = '2011-12-14 17:43:33.372726' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]] SQL (5.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:43:33.609236', "updated_at" = '2011-12-14 17:43:33.609236' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:43:33.661200', "updated_at" = '2011-12-14 17:43:33.661200' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:43:33.708431', "updated_at" = '2011-12-14 17:43:33.708431' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:43:33.801708', "updated_at" = '2011-12-14 17:43:33.801708' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:43:33.871020', "updated_at" = '2011-12-14 17:43:33.871020' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:33 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["description", nil], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]] SQL (0.7ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["description", nil], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]] SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["description", nil], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"  Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.8ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]]  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 3], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]] SQL (0.2ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:34.125282' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:34.137090' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:43:34.138029' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:43:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:43:34.153239' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:43:34.154167' WHERE "app_containers"."id" = 6 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1 CapableModel Load (0.3ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 3 LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 5 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 5 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'new_capability' LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 5 SQL (0.2ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 6 SQL (0.0ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 6]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 6 SQL (0.0ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 6]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SQL (0.0ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) select sqlite_version(*)  (36.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.2ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.2ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.2ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.2ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.2ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.2ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.4ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.6ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (62.8ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (3.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.2ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]]  (5.4ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.8ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (49.5ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (3.9ms) insert into data_migrations (version) values ('20110609150135')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 17:52:13 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 17:52:14.255670' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 17:52:14.258187' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 17:52:14.259920' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 17:52:14.261283' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (4.3ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 17:52:14.657859', "updated_at" = '2011-12-14 17:52:14.657859' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]]  (0.0ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 17:52:14.746694', "updated_at" = '2011-12-14 17:52:14.746694' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:14.897794' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:14.907408' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 17:52:14.908347' WHERE "app_containers"."id" = 1 SQL (0.3ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:14 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:14.924821' WHERE "user_preferences"."id" = 3  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 17:52:14.925774' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'bZfadQxgDsqwXpgJ35xw', "crypted_password" = '$2a$10$u531ToNKkCe0aIuPqGeoe.5NuO2gcqMB0.xNrTB3rspniFDmNIyY6', "updated_at" = '2011-12-14 17:52:15.065653' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:15.140948' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:15.151019' WHERE "user_preferences"."id" = 5  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 17:52:15.152085' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:15.165301' WHERE "user_preferences"."id" = 6  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 17:52:15.166194' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'uxWoPkpxyToqVCq9iuFF', "crypted_password" = '$2a$10$5KitTP4B1fzQqNnSL6Aom.MbpPth9YvWFVx7j.mTJDNTLJpm35yh6', "updated_at" = '2011-12-14 17:52:15.300584' WHERE "users"."id" = 2  (0.0ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 17:52:15.302074' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (4.5ms) insert into data_migrations (version) values ('20110728201729')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]]  (5.1ms) insert into data_migrations (version) values ('20110802200222')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.2ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.8ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["version", #]]  (3.7ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.5ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.8ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:52:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.6ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (25.0ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:52:17.095129', "updated_at" = '2011-12-14 17:52:17.095129' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["crypted_password", "$2a$10$bIEqSMLiPzvb9wzkHpsYK./M8mlB1Pik/A3zE5W9XONey6M6FhwQ."], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:52:17 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (73.6ms) Sent mail to user1@portablemind.com (141ms) Date: Wed, 14 Dec 2011 12:52:18 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e2526b37_199582c8721073679@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.5ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:18.267819' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:18.284603' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:52:18.285785' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:18.304692' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:52:18.305654' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:52:18.307804', "updated_at" = '2011-12-14 17:52:18.308116' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:52:18.348223', "updated_at" = '2011-12-14 17:52:18.348886' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 4.3ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:52:18.356523', "updated_at" = '2011-12-14 17:52:18.356523' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["crypted_password", "$2a$10$L85Lih60qyQpZLZpP.iqX.F1cBY81hDWrPLrUd4mUph59U1C8k5ii"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:52:18 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e25282c25_199582c8721073797@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:18.557632' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", 3]]  (0.7ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:18.570050' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:52:18.571721' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:18.587319' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:52:18.588253' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:52:18.590294', "updated_at" = '2011-12-14 17:52:18.590605' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:52:18.599649', "updated_at" = '2011-12-14 17:52:18.599649' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["crypted_password", "$2a$10$wm44UzsO5iJxXim6G/cLguKkQMkdhlXS0ybthnobtUPXcpCYcdUkm"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:52:18 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e252ae553_199582c87210738f@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:18.735609' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:18.748109' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:52:18.749116' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:18.828493' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:52:18.829640' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:52:18.831634', "updated_at" = '2011-12-14 17:52:18.831908' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:52:18.836359', "updated_at" = '2011-12-14 17:52:18.836788' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:52:18.844145', "updated_at" = '2011-12-14 17:52:18.844145' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["crypted_password", "$2a$10$WsLEAMqpatx3MxsPhJmFZeBg1llsPqgIirC.FAkxgiYtWTv.L2Xv2"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:52:18 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e252e9e7c_199582c8721073992@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:18.979545' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:18.991618' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:52:18.992613' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:18 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:19.008296' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:52:19.009210' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:52:19.011176', "updated_at" = '2011-12-14 17:52:19.011439' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:52:19.169539', "updated_at" = '2011-12-14 17:52:19.170101' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (5.4ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:52:19.406023', "updated_at" = '2011-12-14 17:52:19.406023' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:52:19.459519', "updated_at" = '2011-12-14 17:52:19.459519' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:52:19.505576', "updated_at" = '2011-12-14 17:52:19.505576' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:52:19.599435', "updated_at" = '2011-12-14 17:52:19.599435' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:52:19.669409', "updated_at" = '2011-12-14 17:52:19.669409' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.4ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.3ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]]  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 3], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:19.931906' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:19.944240' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:52:19.945228' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:52:19 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:52:19.960572' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:52:19.961511' WHERE "app_containers"."id" = 6 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1 CapableModel Load (0.3ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 8], ["created_at", Wed, 14 Dec 2011 17:52:20 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:52:20 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:52:20 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:52:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 ORDER BY "capabilities"."id" DESC LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 8 LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'new_capability' LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 5 SQL (0.3ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 6 SQL (0.0ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 6]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 6 SQL (0.0ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 6]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.0ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] SQL (0.2ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 8]]  (0.1ms) select sqlite_version(*)  (39.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.2ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.1ms) PRAGMA index_list("geo_zones")  (0.1ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.1ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.2ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.2ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.2ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.6ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.2ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (42.5ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (3.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.2ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00]]  (3.4ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (49.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:19 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (3.6ms) insert into data_migrations (version) values ('20110609150135')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["value", "ext-all.css"]]  (0.2ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 17:56:20.516294' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 17:56:20.518762' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 17:56:20.520551' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 17:56:20.521984' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (4.0ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:20 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 17:56:20.915978', "updated_at" = '2011-12-14 17:56:20.915978' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]]  (0.0ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 17:56:21.004707', "updated_at" = '2011-12-14 17:56:21.004707' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:21.157862' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:21.167518' WHERE "user_preferences"."id" = 2  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 17:56:21.168495' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:21.184195' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 17:56:21.185198' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.2ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = '4Co8xKD2e1UVAQ7ApnLM', "crypted_password" = '$2a$10$a09arGZj3ICeqLWQI5FIMupILti1B2nxjc5.PKb7/z3yhLJAdjeR6', "updated_at" = '2011-12-14 17:56:21.325598' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:21.401231' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:21.411771' WHERE "user_preferences"."id" = 5  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 17:56:21.412698' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:21.425479' WHERE "user_preferences"."id" = 6  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 17:56:21.426413' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = '4zurtpcnJeTgYzyyRzo4', "crypted_password" = '$2a$10$r6sN5IaNTVO2G9dvHrohzuSW3XAjrhjOEyuKUjeX13Akmf2T71VrC', "updated_at" = '2011-12-14 17:56:21.557016' WHERE "users"."id" = 2  (0.0ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 17:56:21.558747' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (3.6ms) insert into data_migrations (version) values ('20110728201729')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]]  (5.0ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.2ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (5.2ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["version", #]]  (4.4ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.3ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.6ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.4ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:56:21 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.5ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (25.3ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:56:23.384850', "updated_at" = '2011-12-14 17:56:23.384850' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["crypted_password", "$2a$10$Cy0qvDkRc.emqFFTkyMWoeefV3KpAd.GmxlXq98OFbXv0sdEWKqq."], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["username", "admin1"]] SQL (0.3ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:56:23 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (21.2ms) Sent mail to user1@portablemind.com (141ms) Date: Wed, 14 Dec 2011 12:56:24 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e3484ca06_19b282c5aea473680@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:24.553429' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:24.569712' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:56:24.570828' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:24.588942' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:56:24.589945' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:56:24.592046', "updated_at" = '2011-12-14 17:56:24.592349' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.4ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:56:24.633920', "updated_at" = '2011-12-14 17:56:24.634587' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 4.6ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:56:24.642373', "updated_at" = '2011-12-14 17:56:24.642373' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["crypted_password", "$2a$10$VPRGXwLyhhmer6JWxWY4SO59Xrcv1YuuDuLTeex7opJhNncrgPzMK"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:56:24 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e348c7121_19b282c5aea4737ea@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:24.837280' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:24.849359' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:56:24.850412' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:24.866284' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:56:24.867356' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:56:24.869456', "updated_at" = '2011-12-14 17:56:24.869751' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.6ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:56:24.878699', "updated_at" = '2011-12-14 17:56:24.878699' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["crypted_password", "$2a$10$.esA6HNWF5sReYO.7x2F4uBMAnctcNfGZmQW79uUKVduxBzNLj9nW"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:56:24 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:56:24 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e348f3129_19b282c5aea47387f@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:25.016596' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:25.028262' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:56:25.029224' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:25.044038' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:56:25.044962' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:56:25.046941', "updated_at" = '2011-12-14 17:56:25.047205' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:56:25.051297', "updated_at" = '2011-12-14 17:56:25.051718' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (64.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:56:25.058420', "updated_at" = '2011-12-14 17:56:25.058420' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["crypted_password", "$2a$10$qjhjNfMRf.XuT3XXsN7BIu/3snB/RbnQc1SmNfR7IZbC/9Gg1XpFe"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:56:25 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e34939aac_19b282c5aea47394f@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:25.258338' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:25.270346' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:56:25.271310' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:25.286187' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:56:25.287213' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:56:25.289263', "updated_at" = '2011-12-14 17:56:25.289560' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:56:25.445895', "updated_at" = '2011-12-14 17:56:25.446495' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (60.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (5.3ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:56:25.618240', "updated_at" = '2011-12-14 17:56:25.618240' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:56:25.669546', "updated_at" = '2011-12-14 17:56:25.669546' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:56:25.716272', "updated_at" = '2011-12-14 17:56:25.716272' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (60.2ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:56:25.809382', "updated_at" = '2011-12-14 17:56:25.809382' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:56:25.879605', "updated_at" = '2011-12-14 17:56:25.879605' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:25 UTC +00:00], ["value", nil]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["description", nil], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]] SQL (0.4ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["description", nil], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]] SQL (0.4ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["description", nil], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]] SQL (0.3ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]]  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 3], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:26.138574' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:26.150574' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:56:26.151554' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:56:26.166844' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:56:26.167834' WHERE "app_containers"."id" = 6 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 8], ["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:56:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 ORDER BY "capabilities"."id" DESC LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 8 LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 5 SQL (0.3ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 6 SQL (0.0ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 6]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 6 SQL (0.0ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 6]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.0ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] SQL (0.2ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 8]]  (0.1ms) select sqlite_version(*)  (40.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.3ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.2ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.2ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.2ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.3ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.2ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.2ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.1ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.2ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (2.0ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (40.7ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (2.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.0ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:29 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 17:59:29 UTC +00:00]]  (3.7ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (48.4ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (4.0ms) insert into data_migrations (version) values ('20110609150135')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 17:59:30.797861' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 17:59:30.800352' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 17:59:30.802112' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 17:59:30.803550' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:30 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (4.3ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 17:59:31.193965', "updated_at" = '2011-12-14 17:59:31.193965' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]]  (0.0ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 17:59:31.281830', "updated_at" = '2011-12-14 17:59:31.281830' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:31.433715' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:31.443136' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 17:59:31.444096' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:31.459785' WHERE "user_preferences"."id" = 3  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 17:59:31.460753' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'Lsjwbs9HzoAqcsbetGZb', "crypted_password" = '$2a$10$I/afw.LQL.SmViNc2FaZdOR2gOMxnCCKNh9.reS1ETqhved5hm1b.', "updated_at" = '2011-12-14 17:59:31.600584' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:31.675480' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:31.685755' WHERE "user_preferences"."id" = 5  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 17:59:31.686662' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:31.699759' WHERE "user_preferences"."id" = 6  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 17:59:31.700647' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'XmqBund3ejkN9NAFtpxc', "crypted_password" = '$2a$10$UQ7l/sQjuwZFT6qjBQn5hO1k9aSfu2iyjeP.uiOW8Q69ntF7XgahK', "updated_at" = '2011-12-14 17:59:31.831268' WHERE "users"."id" = 2  (0.0ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 17:59:31.832915' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (4.4ms) insert into data_migrations (version) values ('20110728201729')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]]  (3.5ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.5ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.5ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:31 UTC +00:00], ["version", #]]  (5.5ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.5ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.6ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 17:59:32 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.6ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (24.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:59:33.656945', "updated_at" = '2011-12-14 17:59:33.656945' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:59:34 UTC +00:00], ["crypted_password", "$2a$10$LbqcelGz7HwvjHBx0ScPO.71w/XNJl1MQ/kKg4fc8YGf9S.k2t./K"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:34 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:34 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:59:34 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (21.5ms) Sent mail to user1@portablemind.com (144ms) Date: Wed, 14 Dec 2011 12:59:34 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e406cfbab_19cf81fe99a4736c9@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:34 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:59:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.094104' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.110625' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:59:35.111741' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.130045' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:59:35.131019' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:59:35.133170', "updated_at" = '2011-12-14 17:59:35.133468' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.4ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:59:35.173643', "updated_at" = '2011-12-14 17:59:35.174288' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 4.7ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:59:35.181995', "updated_at" = '2011-12-14 17:59:35.181995' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["crypted_password", "$2a$10$PYte9e/CZv1MabuseB23vung0QJ7BiJjAVDDYYgZhNrpkxo8P2Sru"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:59:35 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e40756479_19cf81fe99a4737bd@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.375621' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.388762' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:59:35.389837' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.405307' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:59:35.406338' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:59:35.408582', "updated_at" = '2011-12-14 17:59:35.408870' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:59:35.418372', "updated_at" = '2011-12-14 17:59:35.418372' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["crypted_password", "$2a$10$T68V3CkRxkGbQMs3xgVXmuf0UNwdzPPZJwou0yiI2hkonVUjc1rl."], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:59:35 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e407820c6_19cf81fe99a4738e8@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.554001' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.566347' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:59:35.567320' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.582673' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:59:35.583627' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:59:35.585632', "updated_at" = '2011-12-14 17:59:35.585898' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:59:35.590152', "updated_at" = '2011-12-14 17:59:35.590607' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (64.0ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:59:35.597262', "updated_at" = '2011-12-14 17:59:35.597262' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["crypted_password", "$2a$10$clSaPidtyFcd32yVtyjSpeb.FbhNwUzuDlV5im/Gbu914pR1fdrfa"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 12:59:35 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e407bd1f0_19cf81fe99a4739b6@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.796192' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.808164' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:59:35.809130' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:35.824450' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:59:35.825463' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 17:59:35.827471', "updated_at" = '2011-12-14 17:59:35.827753' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 17:59:35.986737', "updated_at" = '2011-12-14 17:59:35.987352' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:35 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (5.4ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:59:36.156568', "updated_at" = '2011-12-14 17:59:36.156568' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:59:36.208151', "updated_at" = '2011-12-14 17:59:36.208151' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:59:36.255317', "updated_at" = '2011-12-14 17:59:36.255317' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (60.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:59:36.348826', "updated_at" = '2011-12-14 17:59:36.348826' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 17:59:36.419585', "updated_at" = '2011-12-14 17:59:36.419585' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.4ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.3ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.3ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]]  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 3], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:36.678540' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:36.691066' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:59:36.692040' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 17:59:36 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 17:59:36.707483' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 17:59:36.708520' WHERE "app_containers"."id" = 6 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.2ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 5 SQL (0.3ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 5]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 6 SQL (0.0ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 6]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" WHERE "app_containers"."user_id" = 3 SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 3 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "app_containers_applications" ON "applications"."id" = "app_containers_applications"."application_id" WHERE "app_containers_applications"."app_container_id" = 6 SQL (0.0ms) DELETE FROM "app_containers" WHERE "app_containers"."id" = ? [["id", 6]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]] Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.0ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.3ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.2ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types"  (0.1ms) select sqlite_version(*)  (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.2ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.2ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.2ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.2ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.2ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.2ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.3ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.3ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.2ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.2ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.1ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.4ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) PRAGMA index_list("tree_menu_node_defs")  (0.2ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.7ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.1ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.1ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.1ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.1ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (45.0ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (2.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.1ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00]]  (3.2ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (49.6ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:14 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (4.5ms) insert into data_migrations (version) values ('20110609150135')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (1.2ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.2ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:03:15.483111' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:03:15.486488' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 18:03:15.488362' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 18:03:15.489774' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (4.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 18:03:15.886827', "updated_at" = '2011-12-14 18:03:15.886827' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:15 UTC +00:00]]  (0.0ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 18:03:15.976646', "updated_at" = '2011-12-14 18:03:15.976646' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:16.128632' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:16.138219' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:03:16.139174' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:16.155084' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:03:16.156073' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'ZPynHr751QRtjLwj8HzR', "crypted_password" = '$2a$10$SuI9hOOaFhmiGjFu80pGCeBzw1RC6TeNxaCwLr4cZkikJyTEKtuP.', "updated_at" = '2011-12-14 18:03:16.296826' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:16.373300' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:16.383449' WHERE "user_preferences"."id" = 5  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:03:16.384419' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:16.397531' WHERE "user_preferences"."id" = 6  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:03:16.398529' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = '5hZzyei8zzxPJvaYHGGp', "crypted_password" = '$2a$10$2NM4w434S5ZnD.nisIsgJ.QysBLrF70iYBW1lHgVNpRgdud42Znza', "updated_at" = '2011-12-14 18:03:16.529634' WHERE "users"."id" = 2  (0.0ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 18:03:16.531260' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (5.9ms) insert into data_migrations (version) values ('20110728201729')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]]  (3.4ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.5ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["version", #]]  (3.2ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.3ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.2ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:03:16 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.4ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (29.1ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:03:18.366395', "updated_at" = '2011-12-14 18:03:18.366395' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["crypted_password", "$2a$10$unxX50Ev2hVzEjz68ssl.uQoNwTaz9OsIN9DzaMNwoTEAB8tLjhlu"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["username", "admin1"]] SQL (0.3ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:03:18 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (73.5ms) Sent mail to user1@portablemind.com (87ms) Date: Wed, 14 Dec 2011 13:03:19 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e4e749feb_19ea8298bdb8999c7@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:19.542904' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:19.559435' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:03:19.560529' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:19.578552' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:03:19.579607' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:03:19.581681', "updated_at" = '2011-12-14 18:03:19.581977' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:03:19.621782', "updated_at" = '2011-12-14 18:03:19.622438' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 4.4ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]]  (0.2ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:03:19.630103', "updated_at" = '2011-12-14 18:03:19.630103' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["crypted_password", "$2a$10$fMLLJoHcQiNfKco/IkEiceKhmc0qtKlktglPM/.J8NYgx0BAZSivO"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] Sent mail to user2@portablemind.com (66ms) Date: Wed, 14 Dec 2011 13:03:19 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e4e7b636a_19ea8298bdb8100077@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:19.825946' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:19.837948' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:03:19.838955' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:19.854080' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:03:19.855110' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:03:19.857129', "updated_at" = '2011-12-14 18:03:19.857392' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:03:19.866475', "updated_at" = '2011-12-14 18:03:19.866475' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["crypted_password", "$2a$10$8MDGYIn8gRyn8HXGQhcVx.1LjDPznLJnhB8mkxCGTCmgNKbXzyCU6"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] Sent mail to user3@portablemind.com (9ms) Date: Wed, 14 Dec 2011 13:03:19 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e4e7efe3a_19ea8298bdb81001d3@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00]] SQL (0.8ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:19 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.2ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.3ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:20.009680' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", 3]]  (0.2ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:20.025046' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:03:20.026745' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:20.042126' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:03:20.043065' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:03:20.045076', "updated_at" = '2011-12-14 18:03:20.045338' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:03:20.049449', "updated_at" = '2011-12-14 18:03:20.049870' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:03:20.056763', "updated_at" = '2011-12-14 18:03:20.056763' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (63.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["crypted_password", "$2a$10$YIF47reHQboWmOgT4rLuj.5qjpJFpxzDXdyk0wTe0nAcJd8PyGUGq"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:03:20 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e4e839bb8_19ea8298bdb8100293@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.3ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:20.257856' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:20.269745' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:03:20.270716' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:03:20.285441' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:03:20.286402' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:03:20.288397', "updated_at" = '2011-12-14 18:03:20.288686' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:03:20.450849', "updated_at" = '2011-12-14 18:03:20.451480' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (5.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (60.9ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:03:20.580032', "updated_at" = '2011-12-14 18:03:20.580032' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:03:20.690680', "updated_at" = '2011-12-14 18:03:20.690680' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:03:20.737387', "updated_at" = '2011-12-14 18:03:20.737387' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:03:20.770273', "updated_at" = '2011-12-14 18:03:20.770273' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.8ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:03:20.902868', "updated_at" = '2011-12-14 18:03:20.902868' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:03:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00], ["description", nil], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00]] SQL (0.4ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00], ["description", nil], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00]] SQL (0.3ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00], ["description", nil], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00]] SQL (0.3ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1 CapableModel Load (0.2ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 8], ["created_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:03:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles"  Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (18, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 ORDER BY "capabilities"."id" DESC LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 8 LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1  (0.1ms) select sqlite_version(*)  (42.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.2ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.2ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.2ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.5ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.2ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.2ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (38.2ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (3.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.1ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:47 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 18:05:47 UTC +00:00]]  (3.3ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (49.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (4.2ms) insert into data_migrations (version) values ('20110609150135')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00]] SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:48 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:05:48.951203' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:05:48.953825' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 18:05:48.955764' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 18:05:48.957244' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (4.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 18:05:49.368301', "updated_at" = '2011-12-14 18:05:49.368301' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]]  (0.0ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 18:05:49.460689', "updated_at" = '2011-12-14 18:05:49.460689' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:49.620711' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:49.631610' WHERE "user_preferences"."id" = 2  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:05:49.632710' WHERE "app_containers"."id" = 1 SQL (0.3ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:49.649210' WHERE "user_preferences"."id" = 3  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:05:49.650246' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'PqZQcX61zNpphcyphxvj', "crypted_password" = '$2a$10$F.IGWncmblSLwhwaGOgHbO0wSvg5gDhluN537DngW4a1Vi6ceJ2oy', "updated_at" = '2011-12-14 18:05:49.792091' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (51.2ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:49.869511' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:49.879834' WHERE "user_preferences"."id" = 5  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:05:49.880826' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:49 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:49.894832' WHERE "user_preferences"."id" = 6  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:05:49.895938' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = '4DiyfyJzvT1U3nonmw5F', "crypted_password" = '$2a$10$rd1zwBixA5nwYKZ1tsy27ePnN9SPgU3YpH8ocI/DlvUoH3zpuhx1y', "updated_at" = '2011-12-14 18:05:50.036979' WHERE "users"."id" = 2  (0.1ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 18:05:50.038653' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.2ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (3.8ms) insert into data_migrations (version) values ('20110728201729')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]]  (4.2ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.2ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.4ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["version", #]]  (3.2ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.3ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.6ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.2ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.2ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.5ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:05:50 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.3ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (30.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:51 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:05:51 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:05:51.962159', "updated_at" = '2011-12-14 18:05:51.962159' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00], ["crypted_password", "$2a$10$QwJD2Vt1US.2rqky.uwoiOAwbxfj5Un4c/onU6HrCXgxKXiyjCFrG"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:05:52 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (21.6ms) Sent mail to user1@portablemind.com (88ms) Date: Wed, 14 Dec 2011 13:05:52 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e580e4a3e_1a0582975a54999fd@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.178078' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.194770' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:05:53.195940' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.214210' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:05:53.215327' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:05:53.217438', "updated_at" = '2011-12-14 18:05:53.217729' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:05:53.258172', "updated_at" = '2011-12-14 18:05:53.258816' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 4.6ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:05:53.266427', "updated_at" = '2011-12-14 18:05:53.266427' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (1.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["crypted_password", "$2a$10$I5eepPm.dId2jTcopiCwgeOH3Bg3KAQ2Eq.yw/45Q446XOw3OR8au"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:05:53 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e5816b6ed_1a0582975a541000ac@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.462045' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.474287' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:05:53.475289' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.490798' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:05:53.491787' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:05:53.493823', "updated_at" = '2011-12-14 18:05:53.494103' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:05:53.503333', "updated_at" = '2011-12-14 18:05:53.503333' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["crypted_password", "$2a$10$1f82YI3rL1WvsBK9WfOrt.Pg.EDC7f9HR5H9CQpjH7vtLIPhFCopS"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:05:53 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e58196df4_1a0582975a541001c7@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.639351' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.651679' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:05:53.652845' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.668998' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:05:53.670196' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:05:53.672333', "updated_at" = '2011-12-14 18:05:53.672624' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:05:53.676980', "updated_at" = '2011-12-14 18:05:53.677416' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:05:53.684132', "updated_at" = '2011-12-14 18:05:53.684132' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (62.8ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["crypted_password", "$2a$10$Ray.Xh1zNc.Cf8TxBboBWOAiQFZzKvkOyRtzrMOZ/ndAH.m25Vs9C"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:05:53 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e581d2a31_1a0582975a541002ec@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.884106' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.896865' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:05:53.897844' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:05:53.913144' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:05:53.914137' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:05:53.916135', "updated_at" = '2011-12-14 18:05:53.916415' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:05:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:05:54.074019', "updated_at" = '2011-12-14 18:05:54.074575' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]] SQL (5.3ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (1.5ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (61.0ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:05:54.188814', "updated_at" = '2011-12-14 18:05:54.188814' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:05:54.301637', "updated_at" = '2011-12-14 18:05:54.301637' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:05:54.348206', "updated_at" = '2011-12-14 18:05:54.348206' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:05:54.381873', "updated_at" = '2011-12-14 18:05:54.381873' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:05:54.512783', "updated_at" = '2011-12-14 18:05:54.512783' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]] SQL (0.4ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]] SQL (0.3ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]] SQL (0.3ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 SQL (0.6ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", "test_widget"], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["xtype", nil]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 8], ["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:05:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 ORDER BY "capabilities"."id" DESC LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 8 LIMIT 1 CapabilityType Load (0.2ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 8 and resource = 'Note') LIMIT 1 Application Load (0.2ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 11 SQL (0.2ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 11]] Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16  (0.1ms) DELETE FROM "capabilities_capable_models" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND "capabilities_capable_models"."capability_id" IN (6) SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 16]] NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) select sqlite_version(*)  (38.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.2ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.2ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.2ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.2ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.2ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.1ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.2ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.3ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.2ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.2ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.2ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.2ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.3ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.2ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) PRAGMA index_list("valid_note_types")  (0.2ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.2ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.2ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.2ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.6ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (36.8ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (2.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.3ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:54 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 18:12:54 UTC +00:00]]  (3.5ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.8ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (55.5ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (5.4ms) insert into data_migrations (version) values ('20110609150135')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.2ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["value", "ext-all.css"]]  (0.2ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:12:55.907069' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:12:55.909591' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 18:12:55.911455' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 18:12:55.912922' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:12:55 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (4.0ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 18:12:56.311690', "updated_at" = '2011-12-14 18:12:56.311690' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]]  (0.1ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 18:12:56.400523', "updated_at" = '2011-12-14 18:12:56.400523' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:12:56.554784' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:12:56.564264' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:12:56.565231' WHERE "app_containers"."id" = 1 SQL (0.3ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:12:56.581395' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:12:56.582381' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'oDJxMsNAEjF3NCk2CNqU', "crypted_password" = '$2a$10$T4kzjok9vxgHAEWryqieY.ybHCaITrGL1ykZdTcyRgndLY/vuIICa', "updated_at" = '2011-12-14 18:12:56.722607' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:12:56.798602' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:12:56.808577' WHERE "user_preferences"."id" = 5  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:12:56.809484' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:12:56 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:12:56.822726' WHERE "user_preferences"."id" = 6  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:12:56.823653' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'mUMzpvXn4tMx1vpAMZYZ', "crypted_password" = '$2a$10$7.iQkOSrru.lFDfa5YAMWuAWeFw9OeUNi6qMI7LP8SoZTLFuI9eLy', "updated_at" = '2011-12-14 18:12:56.953519' WHERE "users"."id" = 2  (0.0ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 18:12:56.955026' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (3.7ms) insert into data_migrations (version) values ('20110728201729')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]]  (5.1ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.4ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["version", #]]  (3.2ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.6ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.5ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:12:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.6ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (24.9ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:12:58 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:12:58 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:12:58 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:12:58 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:12:58.840173', "updated_at" = '2011-12-14 18:12:58.840173' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.7ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["crypted_password", "$2a$10$04.WHTksLdwUVmEbK/MRgOccRbYq6IgLI.UN24n7IPsNosth7Hhd2"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["username", "admin1"]] SQL (0.4ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (22.3ms) Sent mail to user1@portablemind.com (88ms) Date: Wed, 14 Dec 2011 13:12:59 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e72bc7e6c_1a5d828e0404999e5@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:12:59 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.060944' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.078604' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:00.079746' WHERE "app_containers"."id" = 5 SQL (0.3ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.098683' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:00.099727' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:13:00.101850', "updated_at" = '2011-12-14 18:13:00.102168' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:13:00.143135', "updated_at" = '2011-12-14 18:13:00.143887' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 4.5ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:00.151100', "updated_at" = '2011-12-14 18:13:00.151100' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["crypted_password", "$2a$10$zmj2zQS.c4/F3R6Lco3JwOglYo7R3UYcII3ifZnuFH7ZDvIbwYphq"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:13:00 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e72c4f2de_1a5d828e04041000a0@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.347012' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.359344' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:00.360328' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.375777' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:00.376759' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:13:00.378805', "updated_at" = '2011-12-14 18:13:00.379096' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:00.388369', "updated_at" = '2011-12-14 18:13:00.388369' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.9ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["crypted_password", "$2a$10$9hsuhSD08n6zeaTnhvfbK.WAbcF.uQ/yQjWXA05n2MVQ1m0CY1cdS"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:13:00 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e72c7b674_1a5d828e04041001f3@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.527204' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.540220' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:00.541181' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.556248' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:00.557207' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:13:00.559169', "updated_at" = '2011-12-14 18:13:00.559434' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:13:00.563723', "updated_at" = '2011-12-14 18:13:00.564207' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:00.571140', "updated_at" = '2011-12-14 18:13:00.571140' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["crypted_password", "$2a$10$cT5Y5zoT6QPraRL5tBCuc.LS/A3wdAOe0Y0MXGX2edw1tOUbQvbqS"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:13:00 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e72cb7585_1a5d828e0404100264@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.772681' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.784594' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:00.785624' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:00.800454' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:00.801398' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:13:00.803402', "updated_at" = '2011-12-14 18:13:00.803667' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:13:00.963576', "updated_at" = '2011-12-14 18:13:00.964143' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:00 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (5.6ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (62.1ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:01.076470', "updated_at" = '2011-12-14 18:13:01.076470' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:01.189385', "updated_at" = '2011-12-14 18:13:01.189385' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:01.236151', "updated_at" = '2011-12-14 18:13:01.236151' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:01.269155', "updated_at" = '2011-12-14 18:13:01.269155' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:01.400297', "updated_at" = '2011-12-14 18:13:01.400297' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.8ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 SQL (0.7ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", "test_widget"], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["xtype", nil]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 ORDER BY "capabilities"."id" DESC LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 5 LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (1.0ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 3], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.2ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:01.771710' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:01.784438' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:01.785546' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:01.801573' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:01.802554' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (internal_identifier = 'test_widget') CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 11 SQL (0.2ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 11]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 11 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 16]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE (username = 'employee') CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = test_type) SQLite3::SQLException: no such column: test_type: SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = test_type)  (0.1ms) select sqlite_version(*)  (42.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.2ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.2ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.2ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (42.2ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (2.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.0ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00]]  (3.4ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (49.0ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:32 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (5.2ms) insert into data_migrations (version) values ('20110609150135')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (1.0ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:13:33.410493' WHERE "preference_types"."id" = 3  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:13:33.412933' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 18:13:33.414816' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 18:13:33.416183' WHERE "preference_types"."id" = 2 NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (4.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.2ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 18:13:33.807893', "updated_at" = '2011-12-14 18:13:33.807893' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]]  (0.1ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 18:13:33.896022', "updated_at" = '2011-12-14 18:13:33.896022' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:33 UTC +00:00]] SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:34.047248' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:34.056601' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:13:34.057593' WHERE "app_containers"."id" = 1 SQL (0.3ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:34.073971' WHERE "user_preferences"."id" = 3  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:13:34.074937' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'z6r57joXLWybu1eN6Lhe', "crypted_password" = '$2a$10$bvlmLlxeMPUhZ2vqzZgE9u4RCvzrcjaC/hl84Z2Zc6vHz7OQwWxjO', "updated_at" = '2011-12-14 18:13:34.214388' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (51.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["username", "truenorth"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:34.289231' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:34.298994' WHERE "user_preferences"."id" = 5  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:13:34.299893' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:34.312571' WHERE "user_preferences"."id" = 6  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:13:34.313511' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = '3xmiZwososUT1Tb62ytD', "crypted_password" = '$2a$10$Kli9iPvomcEinnfynukeuuG2CUEEcs9nB4mKw4iro/siCHOppx6eK', "updated_at" = '2011-12-14 18:13:34.443432' WHERE "users"."id" = 2  (0.0ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 18:13:34.445034' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.2ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (4.6ms) insert into data_migrations (version) values ('20110728201729')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]]  (3.6ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.6ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["version", #]]  (4.8ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.5ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.4ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:13:34 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.5ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (24.3ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:36.386349', "updated_at" = '2011-12-14 18:13:36.386349' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["crypted_password", "$2a$10$wGi9bEm.0EQx/MhVGsmcf.REx2vzBp/bd2mNl40HDPDNJ3eitzqgy"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:36 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (21.6ms) Sent mail to user1@portablemind.com (90ms) Date: Wed, 14 Dec 2011 13:13:37 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e7514d283_1a66828c95389994e@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] SQL (0.8ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:37.557650' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:37.574709' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:37.575836' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:37.593941' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:37.595037' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:13:37.597076', "updated_at" = '2011-12-14 18:13:37.597406' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.2ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.4ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:13:37.638119', "updated_at" = '2011-12-14 18:13:37.638757' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 4.8ms | ActiveRecord: 0.6ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:37.646298', "updated_at" = '2011-12-14 18:13:37.646298' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["crypted_password", "$2a$10$shRbwwHBxlXtAiIYtbU1VODe.jwpv4cpYcP81qgQsltPNpm9tHiiG"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:13:37 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e751c7d7e_1a66828c95381000ba@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:37.839988' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:37.852001' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:37.852984' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:37.867993' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:37.869000' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:13:37.870985', "updated_at" = '2011-12-14 18:13:37.871260' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:37.880224', "updated_at" = '2011-12-14 18:13:37.880224' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.9ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["crypted_password", "$2a$10$ydHL1/m/BbpW4KJtvnAMMuv0WbgYqPP7R9REiWa31m0DOa79jevxi"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:37 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:13:37 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e751f3b7c_1a66828c953810011@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:38.019718' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:38.031772' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:38.032761' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:38.047944' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:38.048946' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:13:38.050953', "updated_at" = '2011-12-14 18:13:38.051218' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:13:38.055332', "updated_at" = '2011-12-14 18:13:38.055771' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:38.062575', "updated_at" = '2011-12-14 18:13:38.062575' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["value", "portablemind.png"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["crypted_password", "$2a$10$qCNZ1CxsgBF/eHN90QAqdudNKlzKi/0JwVobKaU7SZq9dAhgAnkcO"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:13:38 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e7523a7e5_1a66828c95381002f6@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:38.261091' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:38.273846' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:38.274874' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:38.290054' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:38.291040' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:13:38.293067', "updated_at" = '2011-12-14 18:13:38.293351' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:13:38.449469', "updated_at" = '2011-12-14 18:13:38.450031' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (5.5ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (60.9ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:38.564578', "updated_at" = '2011-12-14 18:13:38.564578' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:38.675629', "updated_at" = '2011-12-14 18:13:38.675629' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:38.723801', "updated_at" = '2011-12-14 18:13:38.723801' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:38.758463', "updated_at" = '2011-12-14 18:13:38.758463' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:13:38.891580', "updated_at" = '2011-12-14 18:13:38.891580' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:38 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 SQL (0.6ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", "test_widget"], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["xtype", nil]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]] Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (61.9ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.1ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 ORDER BY "capabilities"."id" DESC LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."id" = 5 LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.9ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 3], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:39.256699' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:39.269469' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:39.270498' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:13:39 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:13:39.285719' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:13:39.286694' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (internal_identifier = 'test_widget') CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 11 SQL (0.3ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 11]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 11 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 16]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE (username = 'employee') CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = test_type) SQLite3::SQLException: no such column: test_type: SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = test_type)  (0.1ms) select sqlite_version(*)  (36.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.2ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.1ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.6ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (44.4ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (3.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.2ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (18.9ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:58 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 18:15:58 UTC +00:00]]  (3.2ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (49.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (4.5ms) insert into data_migrations (version) values ('20110609150135')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.3ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:15:59.744361' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:15:59.746766' WHERE "preference_types"."id" = 4  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 18:15:59.748511' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 18:15:59.749864' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] SQL (4.0ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:15:59 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 18:16:00.145396', "updated_at" = '2011-12-14 18:16:00.145396' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]]  (0.0ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 18:16:00.234689', "updated_at" = '2011-12-14 18:16:00.234689' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:00.388008' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:00.397710' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:16:00.398648' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:00.414806' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:16:00.415801' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'PYQy4kuT4fnan9qy2s6h', "crypted_password" = '$2a$10$28WIdaoiLTNTl9VPTUf4reyyxW4ARFfrpXjoE3P6.refZ6hXnhe7q', "updated_at" = '2011-12-14 18:16:00.555023' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:00.630589' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:00.640878' WHERE "user_preferences"."id" = 5  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:16:00.641797' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:00.655012' WHERE "user_preferences"."id" = 6  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:16:00.655964' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'at8DsiAYDsWqnQqX14bC', "crypted_password" = '$2a$10$GYk84jxauI1J73/bqzfmdOJrNNug5fQo60Xm4sWZRgT0txRzscCZu', "updated_at" = '2011-12-14 18:16:00.785244' WHERE "users"."id" = 2  (0.0ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 18:16:00.786706' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (4.6ms) insert into data_migrations (version) values ('20110728201729')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.2ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]]  (3.8ms) insert into data_migrations (version) values ('20110802200222')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00]] PreferenceType Load (0.2ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (5.1ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:00 UTC +00:00], ["version", #]]  (5.7ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.5ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.5ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:16:01 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.5ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (24.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:16:02.638686', "updated_at" = '2011-12-14 18:16:02.638686' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:16:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["crypted_password", "$2a$10$LI4rm2nCn3h4.yUcOgIptOwt22mSSCD8.NcDJ2EZQR4nguldw1nNi"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (21.7ms) Sent mail to user1@portablemind.com (87ms) Date: Wed, 14 Dec 2011 13:16:03 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e7e38a9d1_1a7e828c3a8499919@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:03.806041' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:03.822644' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:16:03.823688' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:03.841622' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:16:03.842655' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:16:03.844748', "updated_at" = '2011-12-14 18:16:03.845034' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:16:03.885310', "updated_at" = '2011-12-14 18:16:03.885942' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 4.5ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:16:03.893537', "updated_at" = '2011-12-14 18:16:03.893537' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["crypted_password", "$2a$10$nMUgno.OgkLorPFn67gGWuwyjMmi5OlvWiTK8bEt1rWJf8jIevvfm"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:16:03 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:16:04 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e7e4fa6c_1a7e828c3a841000ee@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:04.085850' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:04.098053' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:16:04.099050' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:04.114218' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:16:04.115167' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:16:04.117161', "updated_at" = '2011-12-14 18:16:04.117434' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:16:04.126430', "updated_at" = '2011-12-14 18:16:04.126430' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (1.0ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["crypted_password", "$2a$10$dWQVX.9ZNdscZFbPy/W7BO8Yq/DbjDkWQi4JthF2cf6wtQRk2s/Ta"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:16:04 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e7e43b38d_1a7e828c3a841001ec@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:04.263558' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:04.276003' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:16:04.277006' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:04.291747' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:16:04.292757' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:16:04.294796', "updated_at" = '2011-12-14 18:16:04.295067' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:16:04.299234', "updated_at" = '2011-12-14 18:16:04.299686' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:16:04.306411', "updated_at" = '2011-12-14 18:16:04.306411' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (62.9ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["crypted_password", "$2a$10$JObLDJpcQJGaMMw1ujFXWOHBf.4Z8x8wun04NvmCP4wFA2S2Di7wy"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:16:04 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e7e475c9b_1a7e828c3a841002ba@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:04.504231' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:04.516431' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:16:04.517422' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:04.532686' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:16:04.533830' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:16:04.535934', "updated_at" = '2011-12-14 18:16:04.536222' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:16:04.693447', "updated_at" = '2011-12-14 18:16:04.694066' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (5.4ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (60.9ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:16:04.808320', "updated_at" = '2011-12-14 18:16:04.808320' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:16:04.918929', "updated_at" = '2011-12-14 18:16:04.918929' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:16:04.965561', "updated_at" = '2011-12-14 18:16:04.965561' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:16:04 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:16:04.998227', "updated_at" = '2011-12-14 18:16:04.998227' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:16:05.129339', "updated_at" = '2011-12-14 18:16:05.129339' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 SQL (0.6ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", "test_widget"], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["xtype", nil]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]] Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles"  Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.8ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 3], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:05.499656' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:05.512349' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:16:05.513396' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:16:05 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:16:05.528879' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:16:05.529832' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (internal_identifier = 'test_widget') CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 11 SQL (0.2ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 11]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 11 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 16]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE (username = 'employee') CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = 'test_type') SQL (0.2ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 5]]  (0.1ms) select sqlite_version(*)  (44.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.2ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.2ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.1ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.2ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (41.4ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (3.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.0ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]]  (3.5ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (49.4ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (5.3ms) insert into data_migrations (version) values ('20110609150135')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.2ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:08 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:19:08.989936' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:19:08.992400' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 18:19:08.994171' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 18:19:08.995548' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (4.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 18:19:09.388294', "updated_at" = '2011-12-14 18:19:09.388294' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]]  (0.0ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 18:19:09.476938', "updated_at" = '2011-12-14 18:19:09.476938' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:09.628360' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:09.638023' WHERE "user_preferences"."id" = 2  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:19:09.639021' WHERE "app_containers"."id" = 1 SQL (0.3ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:09.655627' WHERE "user_preferences"."id" = 3  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:19:09.656629' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'rgsma6Foafd4J4AiqTWY', "crypted_password" = '$2a$10$4/fLD9qftsRD.njKI50BieZX1RJpN16sVV2d7RLvKDmFsznsRTxXG', "updated_at" = '2011-12-14 18:19:09.795410' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (50.7ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:09.870921' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:09.880979' WHERE "user_preferences"."id" = 5  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:19:09.881971' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:09 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:09.895054' WHERE "user_preferences"."id" = 6  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:19:09.895938' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'HNazX3yeRBc89y8D2m6h', "crypted_password" = '$2a$10$2k8xKrREguaGv62I7QQmOuOuJI6rPRS10/C/S5EP7JEYwztuo0Cya', "updated_at" = '2011-12-14 18:19:10.025670' WHERE "users"."id" = 2  (0.1ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 18:19:10.026882' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (5.5ms) insert into data_migrations (version) values ('20110728201729')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]]  (5.3ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.2ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.5ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.5ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["version", #]]  (3.5ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.5ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.6ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:19:10 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.6ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (29.1ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:19:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.8ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:19:11.853546', "updated_at" = '2011-12-14 18:19:11.853546' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.8ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (2.8ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00], ["crypted_password", "$2a$10$iAd1sEzbG/pGrPhl.rOZQuJ8irmeLxInFu0BExiab5207QXyo0CjW"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00], ["username", "admin1"]] SQL (0.5ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:19:12 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (21.7ms) Sent mail to user1@portablemind.com (93ms) Date: Wed, 14 Dec 2011 13:19:12 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e8a0e572e_1a96828aa584999f3@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.3ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.5ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (1.1ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.214663' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.2ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.2ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.2ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.3ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.240588' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:19:13.241966' WHERE "app_containers"."id" = 5 SQL (0.3ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.265437' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:19:13.267212' WHERE "app_containers"."id" = 6  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:19:13.270175', "updated_at" = '2011-12-14 18:19:13.270504' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:19:13.311383', "updated_at" = '2011-12-14 18:19:13.312055' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 4.5ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:19:13.319898', "updated_at" = '2011-12-14 18:19:13.319898' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["crypted_password", "$2a$10$rOzUs2KKumfT4u1kteQjCOEH2qhQ8XG4RxIgXLA05zQdvxNyC.uuy"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:19:13 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e8a178725_1a96828aa5841000e5@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.514950' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.526793' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:19:13.527735' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.542851' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:19:13.543869' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:19:13.545858', "updated_at" = '2011-12-14 18:19:13.546141' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:19:13.555406', "updated_at" = '2011-12-14 18:19:13.555406' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (1.0ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["crypted_password", "$2a$10$xOdjAi86U.SppLI58JcdxOaRaLOYAcMHDoCEZqoCYHAQio4e9H/kG"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:19:13 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e8a1a414e_1a96828aa5841001a0@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.693580' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.705749' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:19:13.706691' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.721908' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:19:13.722871' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:19:13.724876', "updated_at" = '2011-12-14 18:19:13.725151' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:19:13.729264', "updated_at" = '2011-12-14 18:19:13.729707' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:19:13.736550', "updated_at" = '2011-12-14 18:19:13.736550' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["crypted_password", "$2a$10$6uLiOlYNnqzGdD11QLXG1eo884SB7RnwmUDigxeDKNibD.2F/GVhi"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:19:13 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e8a1def09_1a96828aa5841002de@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.934346' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.946194' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:19:13.947167' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:13.961947' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:19:13.962937' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:19:13.964984', "updated_at" = '2011-12-14 18:19:13.965256' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:19:14.120087', "updated_at" = '2011-12-14 18:19:14.120676' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (5.6ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:19:14.302378', "updated_at" = '2011-12-14 18:19:14.302378' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:19:14.352904', "updated_at" = '2011-12-14 18:19:14.352904' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (1.0ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:19:14.401728', "updated_at" = '2011-12-14 18:19:14.401728' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:19:14.434196', "updated_at" = '2011-12-14 18:19:14.434196' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:19:14.564238', "updated_at" = '2011-12-14 18:19:14.564238' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.8ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 SQL (0.6ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", "test_widget"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["xtype", nil]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles"  Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.9ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 3], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:14.932530' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:14.944765' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:19:14.945909' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:19:14.961143' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:19:14.962122' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (20, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" INNER JOIN "capabilities_capable_models" ON "capable_models"."id" = "capabilities_capable_models"."capable_model_id" WHERE "capabilities_capable_models"."capability_id" = 6  (0.2ms) DELETE FROM "capabilities_capable_models" WHERE "capabilities_capable_models"."capability_id" = 6 AND "capabilities_capable_models"."capable_model_id" IN (16) SQL (0.1ms) DELETE FROM "capabilities" WHERE "capabilities"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 19 AND "roles_secured_models"."role_id" IN (1) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (internal_identifier = 'test_widget') CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 11 SQL (0.2ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 11]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 11 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 16]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE (username = 'employee') CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = 'test_type') SQL (0.2ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 5]]  (0.1ms) select sqlite_version(*)  (4.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.2ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.2ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.4ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.3ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.2ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.2ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.2ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.2ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.2ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.2ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.2ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (45.1ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (3.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.1ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:05 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 18:21:05 UTC +00:00]]  (3.7ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (47.9ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (5.0ms) insert into data_migrations (version) values ('20110609150135')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["value", "ext-all.css"]]  (0.2ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:21:06.891857' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:21:06.894310' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 18:21:06.896108' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 18:21:06.897626' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:06 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (4.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 18:21:07.289623', "updated_at" = '2011-12-14 18:21:07.289623' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]]  (0.1ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 18:21:07.377707', "updated_at" = '2011-12-14 18:21:07.377707' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:07.529940' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:07.539388' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:21:07.540342' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:07.556083' WHERE "user_preferences"."id" = 3  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:21:07.557091' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'axXyGkh7CtUHym2UqMFz', "crypted_password" = '$2a$10$6xY4CQK.E.yrvOmmMFIglO2nGhf/2ymt6A2rHsPWZWRKLYbz7Aa9K', "updated_at" = '2011-12-14 18:21:07.697052' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:07.772185' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:07.782390' WHERE "user_preferences"."id" = 5  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:21:07.783295' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:07 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:07.796112' WHERE "user_preferences"."id" = 6  (0.1ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:21:07.797081' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'qdszEyhz6vw3R2Boy3Qu', "crypted_password" = '$2a$10$bHgRBdP3GGARKlaOeprlpukTAVGxgQreRKbsYvl2PeAUYmYo.xee6', "updated_at" = '2011-12-14 18:21:07.926845' WHERE "users"."id" = 2  (0.0ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 18:21:07.928707' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.2ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (5.1ms) insert into data_migrations (version) values ('20110728201729')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.1ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]]  (5.2ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.5ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["version", #]]  (3.9ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.6ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.6ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:21:08 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.8ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (24.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:09 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:21:09 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:09 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:09 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:21:09.837746', "updated_at" = '2011-12-14 18:21:09.837746' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["crypted_password", "$2a$10$8y4lMVZze3AChSSnwMWsDuHGbK317JGkqsxBcs1jBKefwKtIs/RvK"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (21.4ms) Sent mail to user1@portablemind.com (87ms) Date: Wed, 14 Dec 2011 13:21:10 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e916ba9b2_1aa782848410999e@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:10 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.001912' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.3ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.018541' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:21:11.019665' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.038303' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:21:11.039390' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:21:11.041479', "updated_at" = '2011-12-14 18:21:11.041770' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:21:11.081920', "updated_at" = '2011-12-14 18:21:11.082557' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 4.4ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:21:11.090194', "updated_at" = '2011-12-14 18:21:11.090194' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["crypted_password", "$2a$10$uFbvfCKD110WHzZj.VZ8qOMzfGE7Gc0.9DW3kQOhlPjGeF5hDqbm6"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["username", "admin2"]] SQL (0.3ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:21:11 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e91741f70_1aa782848410100064@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.291945' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.303978' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:21:11.304966' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.320066' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:21:11.321016' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:21:11.322972', "updated_at" = '2011-12-14 18:21:11.323251' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 1ms  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:21:11.332331', "updated_at" = '2011-12-14 18:21:11.332331' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (1.0ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["crypted_password", "$2a$10$b.jvRstXxwYYdy.xzKUoM.YAjjWg19XGuvYxuEEUxYg18Iu1ZvoxW"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:21:11 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e9176ecff_1aa7828484101001db@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.474819' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.487049' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:21:11.488112' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.503069' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:21:11.504025' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:21:11.505985', "updated_at" = '2011-12-14 18:21:11.506242' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:21:11.510305', "updated_at" = '2011-12-14 18:21:11.510721' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:21:11.517435', "updated_at" = '2011-12-14 18:21:11.517435' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["crypted_password", "$2a$10$gN31qZZyw257V1MWuxK/J.jkGX7OlnNv3JHbVFw9BRj9BEBTISeLi"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:21:11 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e917a9816_1aa782848410100253@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.715805' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.727729' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:21:11.728802' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:11.743751' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:21:11.744694' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:21:11.746675', "updated_at" = '2011-12-14 18:21:11.746949' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:21:11.905000', "updated_at" = '2011-12-14 18:21:11.905550' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.2ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]] SQL (5.7ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.4ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (59.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:21:12.081129', "updated_at" = '2011-12-14 18:21:12.081129' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:21:12.134667', "updated_at" = '2011-12-14 18:21:12.134667' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:21:12.181642', "updated_at" = '2011-12-14 18:21:12.181642' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (61.9ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:21:12.214915', "updated_at" = '2011-12-14 18:21:12.214915' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:21:12.347100', "updated_at" = '2011-12-14 18:21:12.347100' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.2ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 SQL (0.6ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", "test_widget"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["xtype", nil]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles"  Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.9ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 3], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:12.715163' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:12.728295' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:21:12.729447' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:21:12.745876' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:21:12.746846' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (20, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:21:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" INNER JOIN "capabilities_capable_models" ON "capable_models"."id" = "capabilities_capable_models"."capable_model_id" WHERE "capabilities_capable_models"."capability_id" = 6  (0.2ms) DELETE FROM "capabilities_capable_models" WHERE "capabilities_capable_models"."capability_id" = 6 AND "capabilities_capable_models"."capable_model_id" IN (16) SQL (0.1ms) DELETE FROM "capabilities" WHERE "capabilities"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 19 AND "roles_secured_models"."role_id" IN (1) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (internal_identifier = 'test_widget') CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 11 SQL (0.2ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 11]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 11 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 16]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE (username = 'employee') CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = 'test_type') SQL (0.2ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 5]]  (0.1ms) select sqlite_version(*)  (9.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (4.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.1ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.2ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.2ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (38.8ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (3.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.2ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.0ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00]]  (3.3ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (49.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:56 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (4.0ms) insert into data_migrations (version) values ('20110609150135')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.2ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:22:57.322823' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:22:57.325268' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 18:22:57.327061' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 18:22:57.328417' WHERE "preference_types"."id" = 2 NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (4.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 18:22:57.722047', "updated_at" = '2011-12-14 18:22:57.722047' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]]  (0.0ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 18:22:57.810714', "updated_at" = '2011-12-14 18:22:57.810714' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:22:57.962726' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:22:57.972065' WHERE "user_preferences"."id" = 2  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:22:57.972988' WHERE "app_containers"."id" = 1 SQL (0.3ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:22:57 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:22:57.990121' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:22:57.991071' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'goZGYtqxDWbTS8jCRGyL', "crypted_password" = '$2a$10$A.Bs7qYM7W2T1coCS/To4OMTM.f/SuV4NRxdsaK6fF4B8xAxdFkoa', "updated_at" = '2011-12-14 18:22:58.130099' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (51.8ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["username", "truenorth"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:22:58.205194' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:22:58.214958' WHERE "user_preferences"."id" = 5  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:22:58.215879' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:22:58.228811' WHERE "user_preferences"."id" = 6  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:22:58.229758' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'jJdH7sz1eHV8eHChnDjs', "crypted_password" = '$2a$10$Jymvd/4UfwqZEjQLIGNx5eE7TJjg8uBolxC9qtITdhg6/HdepD6Xm', "updated_at" = '2011-12-14 18:22:58.358524' WHERE "users"."id" = 2  (0.1ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 18:22:58.359754' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (3.6ms) insert into data_migrations (version) values ('20110728201729')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]]  (3.5ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.3ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.6ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["version", #]]  (4.8ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.2ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.2ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:22:58 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.4ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (29.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00]]  (0.2ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:23:00.239679', "updated_at" = '2011-12-14 18:23:00.239679' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["crypted_password", "$2a$10$E2Ga1lDT14eT4pkGQr7r5eCAbYK0WiemGfsib0c5oTGcmJ.RJcluu"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:23:00 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (21.7ms) Sent mail to user1@portablemind.com (88ms) Date: Wed, 14 Dec 2011 13:23:01 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8e98530b77_1aba823f514c999f0@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:01.437160' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:01.453783' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:23:01.454945' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:01.473299' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:23:01.474321' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:23:01.476464', "updated_at" = '2011-12-14 18:23:01.476786' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.4ms)  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:23:01.517761', "updated_at" = '2011-12-14 18:23:01.518406' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 4.6ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:23:01.526062', "updated_at" = '2011-12-14 18:23:01.526062' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (58.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["crypted_password", "$2a$10$nhDJEv2NbkyljiPwbhtyJe1zkfhGkKlt6GrnUYtgYOazpf7JpSuIC"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:23:01 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8e985aa935_1aba823f514c1000de@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:01.720122' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:01.732521' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:23:01.733594' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:01.748799' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:23:01.749760' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:23:01.751769', "updated_at" = '2011-12-14 18:23:01.752042' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:23:01.761021', "updated_at" = '2011-12-14 18:23:01.761021' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (1.0ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["crypted_password", "$2a$10$c/jF0WpSUiISeh.qaMgfFOuVQtWvwDPXbRnf/qWw.IIeBbBa4oepe"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:23:01 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8e985d7874_1aba823f514c1001d5@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:01.904162' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:01.916043' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:23:01.917017' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:01.931771' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:23:01.932747' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:23:01.934688', "updated_at" = '2011-12-14 18:23:01.934954' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:23:01.939241', "updated_at" = '2011-12-14 18:23:01.939709' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:01 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:23:01.946496', "updated_at" = '2011-12-14 18:23:01.946496' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["crypted_password", "$2a$10$9ZZSSGDv6JuaX1pEmUtCsOfr8O7W3GCUC.9wXXlfOxnD5dzTIVppe"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:23:02 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8e9861e31d_1aba823f514c1002fe@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:02.145092' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:02.157075' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:23:02.158105' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:02.173265' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:23:02.174232' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:23:02.176217', "updated_at" = '2011-12-14 18:23:02.176486' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:23:02.333299', "updated_at" = '2011-12-14 18:23:02.333860' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] SQL (5.6ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:23:02.514158', "updated_at" = '2011-12-14 18:23:02.514158' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:23:02.566198', "updated_at" = '2011-12-14 18:23:02.566198' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:23:02.612622', "updated_at" = '2011-12-14 18:23:02.612622' WHERE "individuals"."id" = 3 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:23:02.647131', "updated_at" = '2011-12-14 18:23:02.647131' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:23:02.779346', "updated_at" = '2011-12-14 18:23:02.779346' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.8ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 SQL (0.6ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", "test_widget"], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["xtype", nil]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:02 UTC +00:00]] Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles"  Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.9ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 3], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:03.145695' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:03.158136' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:23:03.159208' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:23:03.174604' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:23:03.175584' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (20, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" INNER JOIN "capabilities_capable_models" ON "capable_models"."id" = "capabilities_capable_models"."capable_model_id" WHERE "capabilities_capable_models"."capability_id" = 6  (0.1ms) DELETE FROM "capabilities_capable_models" WHERE "capabilities_capable_models"."capability_id" = 6 AND "capabilities_capable_models"."capable_model_id" IN (16) SQL (0.1ms) DELETE FROM "capabilities" WHERE "capabilities"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 19 AND "roles_secured_models"."role_id" IN (1) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (internal_identifier = 'test_widget') CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 11 SQL (0.2ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 11]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 11 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 16]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE (username = 'employee') CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = 'test_type') SQL (0.2ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 5]] NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) select sqlite_version(*)  (37.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.2ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.2ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.2ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.2ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.2ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.2ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.2ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.6ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.1ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets")  (0.1ms) SAVEPOINT active_record_1 SQL (24.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:27:15.344264', "updated_at" = '2011-12-14 18:27:15.344264' WHERE "individuals"."id" = 1 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["crypted_password", "$2a$10$7fggopXQz6O8xErujgEyUOBSj15qFYzQkRCx4pVZDDXp7b04hch/K"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 2], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:27:15 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (73.1ms) Sent mail to user1@portablemind.com (87ms) Date: Wed, 14 Dec 2011 13:27:16 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8ea84438d7_1ad982ecbc6040829@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.6ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:16.512009' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:16.524621' WHERE "user_preferences"."id" = 2  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:27:16.525719' WHERE "app_containers"."id" = 1 SQL (0.3ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:16.544883' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:27:16.545926' WHERE "app_containers"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:27:16.548103', "updated_at" = '2011-12-14 18:27:16.548401' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:27:16.589210', "updated_at" = '2011-12-14 18:27:16.589862' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 4.7ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:27:16.597489', "updated_at" = '2011-12-14 18:27:16.597489' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["crypted_password", "$2a$10$jhO.Es4rIcvwrs8nQryBKOHTvqWHj73I7IRMkog0paTl.bAZEP956"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 2], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:27:16 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8ea84ae96f_1ad982ecbc60409bb@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (58.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:16.793908' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:16.803223' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:27:16.804180' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:16.816678' WHERE "user_preferences"."id" = 3  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:27:16.817777' WHERE "app_containers"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:27:16.819914', "updated_at" = '2011-12-14 18:27:16.820201' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:27:16.829466', "updated_at" = '2011-12-14 18:27:16.829466' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["crypted_password", "$2a$10$mTB1id.KU7qdRiTvQmvNIeTphZR0LMCcftp5CoQQhPB08kJeuUXzq"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 2], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:27:16 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8ea84e6610_1ad982ecbc6041042@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:16.964325' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:16.974033' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:27:16.974978' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:16 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:16.988189' WHERE "user_preferences"."id" = 3  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:27:16.989351' WHERE "app_containers"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:27:16.991469', "updated_at" = '2011-12-14 18:27:16.991748' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:27:16.996006', "updated_at" = '2011-12-14 18:27:16.996493' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:27:17.003153', "updated_at" = '2011-12-14 18:27:17.003153' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["crypted_password", "$2a$10$leawolbYrBulfgnZFDWKs.0G6LbCFUGfZHk3nFmIiR1DSdYiVxCIm"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 2], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]] Sent mail to user4@portablemind.com (69ms) Date: Wed, 14 Dec 2011 13:27:17 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8ea851c9e3_1ad982ecbc60411aa@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.3ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:17.198535' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:17.208036' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:27:17.209074' WHERE "app_containers"."id" = 1 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:27:17.221426' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:27:17.222368' WHERE "app_containers"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:27:17.224356', "updated_at" = '2011-12-14 18:27:17.224631' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:27:17.379120', "updated_at" = '2011-12-14 18:27:17.379816' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]] SQL (6.4ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:27:17.509793', "updated_at" = '2011-12-14 18:27:17.509793' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 3], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 2)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:27:17.621193', "updated_at" = '2011-12-14 18:27:17.621193' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 3], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:27:17.668955', "updated_at" = '2011-12-14 18:27:17.668955' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 2)  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:27:17.700802', "updated_at" = '2011-12-14 18:27:17.700802' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (61.2ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 3], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 4], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 2) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:27:17.832564', "updated_at" = '2011-12-14 18:27:17.832564' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 3], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 2)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:27:17 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 SQL (0.6ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", "test_widget"], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["xtype", nil]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00]] Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.8ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["description", "party 19"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["crypted_password", nil], ["email", "admin@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 1], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["username", "admin"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.9ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["description", "party 20"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 1], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.8ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["description", "party 21"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["crypted_password", nil], ["email", "admin@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 1], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["username", "admin"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:27:18 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (internal_identifier = 'test_widget') CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.2ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 1 SQL (0.2ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 1]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles"  Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1 SQL (0.2ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 1]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE (username = 'employee') CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = 'test_type') SQL (0.2ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 1]]  (0.1ms) select sqlite_version(*)  (37.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.2ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.5ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.3ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.2ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.2ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.2ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.2ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets")  (0.1ms) SAVEPOINT active_record_1 SQL (29.9ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:29:09.343210', "updated_at" = '2011-12-14 18:29:09.343210' WHERE "individuals"."id" = 1 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["crypted_password", "$2a$10$TCyWzA5XsN17yrakjipQ2uDuDhfU7IkOg10kDoDo2fWDlhPK35uZK"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 2], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:29:09 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (73.9ms) Sent mail to user1@portablemind.com (89ms) Date: Wed, 14 Dec 2011 13:29:10 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8eaf64a773_1aec82eca61c4087c@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.5ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:10.541414' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:10.553953' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:29:10.555045' WHERE "app_containers"."id" = 1 SQL (0.3ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:10.574197' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:29:10.575285' WHERE "app_containers"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:29:10.577414', "updated_at" = '2011-12-14 18:29:10.577704' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:29:10.618327', "updated_at" = '2011-12-14 18:29:10.618971' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 4.4ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:29:10.626644', "updated_at" = '2011-12-14 18:29:10.626644' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["crypted_password", "$2a$10$8AFYZT25Y3QUt07gXSzv6OwdfBq3cTFYEWM5vV3MZI4ple1wzVmce"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 2], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:29:10 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8eaf6b5d2c_1aec82eca61c409a9@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (60.8ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:10.827031' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:10.836227' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:29:10.837206' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:10.849685' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:29:10.850649' WHERE "app_containers"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:29:10.852608', "updated_at" = '2011-12-14 18:29:10.852878' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:29:10.861820', "updated_at" = '2011-12-14 18:29:10.861820' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["crypted_password", "$2a$10$LIuUKqYw.kNQH9cMG2F/zOy5.ITfguuE.Z3wGqj0sx.a1OPt2piCm"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 2], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:29:10 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8eaf6ee9f6_1aec82eca61c41076@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.3ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:10 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:10.997670' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:11.007023' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:29:11.007974' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:11.020915' WHERE "user_preferences"."id" = 3  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:29:11.021883' WHERE "app_containers"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:29:11.023902', "updated_at" = '2011-12-14 18:29:11.024179' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:29:11.028448', "updated_at" = '2011-12-14 18:29:11.028892' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.2ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:29:11.035888', "updated_at" = '2011-12-14 18:29:11.035888' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["crypted_password", "$2a$10$1dXQ2PibWOW1t0SH8Dm9yOaMzEzaKv1bg7OcOuwbGbV.Ix1ZEJ1Fm"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 2], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] Sent mail to user4@portablemind.com (68ms) Date: Wed, 14 Dec 2011 13:29:11 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8eaf725904_1aec82eca61c41164@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:11.234464' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:11.243630' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:29:11.244612' WHERE "app_containers"."id" = 1 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_option_id", 2], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:29:11.257162' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:29:11.258125' WHERE "app_containers"."id" = 2  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:29:11.260120', "updated_at" = '2011-12-14 18:29:11.260387' WHERE "users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:29:11.416798', "updated_at" = '2011-12-14 18:29:11.417363' WHERE "users"."id" = 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (5.3ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.8ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:29:11.539113', "updated_at" = '2011-12-14 18:29:11.539113' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 3], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 2)  (0.0ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:29:11.652799', "updated_at" = '2011-12-14 18:29:11.652799' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 3], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:29:11.699120', "updated_at" = '2011-12-14 18:29:11.699120' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 2)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:29:11.732223', "updated_at" = '2011-12-14 18:29:11.732223' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.7ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (61.2ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 3], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 4], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 2) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:29:11.864596', "updated_at" = '2011-12-14 18:29:11.864596' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 2], ["party_id_to", 3], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 2)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:29:11 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 SQL (0.7ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", "test_widget"], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["xtype", nil]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00]] Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.9ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["crypted_password", nil], ["email", "admin@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["username", "admin"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee' LIMIT 1 SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["username", "employee"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["crypted_password", nil], ["email", "admin@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["username", "admin"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:29:12 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (internal_identifier = 'test_widget') CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.2ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 1 SQL (0.2ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 1]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1 SQL (0.2ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 1]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE (username = 'employee') CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = 'test_type') SQL (0.2ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 1]] NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) select sqlite_version(*)  (38.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.2ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.1ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.2ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.2ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.2ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.2ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.2ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.2ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.2ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.2ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (41.5ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (2.8ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (20.7ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:28 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 18:32:28 UTC +00:00]]  (3.3ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.2ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.8ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (54.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (3.7ms) insert into data_migrations (version) values ('20110609150135')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.3ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]] SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["value", "ext-all.css"]]  (0.2ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.2ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:32:29.899702' WHERE "preference_types"."id" = 3  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:32:29.903129' WHERE "preference_types"."id" = 4  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 18:32:29.906411' WHERE "preference_types"."id" = 1  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.2ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 18:32:29.909541' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:29 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.4ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (4.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.4ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 18:32:30.335443', "updated_at" = '2011-12-14 18:32:30.335443' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.3ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]]  (0.0ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 18:32:30.424207', "updated_at" = '2011-12-14 18:32:30.424207' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.4ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:30.576054' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:30.585738' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:32:30.586739' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:30.604528' WHERE "user_preferences"."id" = 3  (0.1ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:32:30.605571' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'pFhsAdkxSWWjhze3tP71', "crypted_password" = '$2a$10$IF.bx.lA5qQzoblYr35o4OXzLeOj0/ief5tMSGQiz4Gucy4isHB6.', "updated_at" = '2011-12-14 18:32:30.745853' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["username", "truenorth"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:30.821037' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:30.831229' WHERE "user_preferences"."id" = 5  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:32:30.832153' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:30 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:30.845486' WHERE "user_preferences"."id" = 6  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:32:30.846400' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'DLQsh5PbxXQr23RzpgNN', "crypted_password" = '$2a$10$U.Immn0XZtHkfI2gh678ZexkeaXd/CToTQmv.6UGweIe5/upPe2CK', "updated_at" = '2011-12-14 18:32:30.976046' WHERE "users"."id" = 2  (0.0ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 18:32:30.977627' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.2ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (4.1ms) insert into data_migrations (version) values ('20110728201729')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]]  (3.3ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (3.5ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.5ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["version", #]]  (3.6ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.6ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.4ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.4ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:32:31 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.5ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (78.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:32 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:32:32 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:32:32.918089', "updated_at" = '2011-12-14 18:32:32.918089' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00], ["crypted_password", "$2a$10$6HL3MxcZHq3vjS6QUWHQ8uF5AFcBOjKxYv2tPN8WgYoMCzvSGJp/W"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00], ["username", "admin1"]] SQL (0.3ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:33 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (22.0ms) Sent mail to user1@portablemind.com (88ms) Date: Wed, 14 Dec 2011 13:32:33 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8ebc1dda2e_1b0583bbbc4028e7@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.2ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.5ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.096435' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.168391' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:34.169541' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.188100' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:34.189088' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:32:34.191189', "updated_at" = '2011-12-14 18:32:34.191463' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:32:34.233174', "updated_at" = '2011-12-14 18:32:34.233816' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 4.3ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:32:34.241773', "updated_at" = '2011-12-14 18:32:34.241773' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["crypted_password", "$2a$10$CERQ6hRFA85guGYKlN588.baZ1jK5Jxtv2IQu5crur9WsnwzT4WdK"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:32:34 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8ebc258bb2_1b0583bbbc40296c@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.385420' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (59.0ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.456119' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:34.457439' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.473528' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:34.474496' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:32:34.476574', "updated_at" = '2011-12-14 18:32:34.476883' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 0ms  (0.1ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:32:34.485959', "updated_at" = '2011-12-14 18:32:34.485959' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.2ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["crypted_password", "$2a$10$Ft9WGOx7fINx2Vb04SFyVOU9ZSXd9Ap1kwJ.8SHmgcvnVNj718rSK"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:32:34 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8ebc2934dd_1b0583bbbc40302d@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.624820' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.637148' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:34.638113' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.654123' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:34.655077' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:32:34.657107', "updated_at" = '2011-12-14 18:32:34.657385' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:32:34.661763', "updated_at" = '2011-12-14 18:32:34.662245' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:32:34.669178', "updated_at" = '2011-12-14 18:32:34.669178' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["crypted_password", "$2a$10$BaFK89LtnFe0RSOsR36TbuZ1dp5H5px4.sAL8VIvl3EyM7ucRvmIS"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:32:34 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8ebc2bf386_1b0583bbbc40319e@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.8ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.867219' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.879319' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:34.880337' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:34.895446' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:34.896399' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:32:34.898407', "updated_at" = '2011-12-14 18:32:34.898690' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:32:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:32:35.055668', "updated_at" = '2011-12-14 18:32:35.056221' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (5.6ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:32:35.174223', "updated_at" = '2011-12-14 18:32:35.174223' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:32:35.286972', "updated_at" = '2011-12-14 18:32:35.286972' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:32:35.334207', "updated_at" = '2011-12-14 18:32:35.334207' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:32:35.368008', "updated_at" = '2011-12-14 18:32:35.368008' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (61.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:32:35.504189', "updated_at" = '2011-12-14 18:32:35.504189' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 SQL (0.6ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", "test_widget"], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["xtype", nil]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin_test' LIMIT 1 SQL (1.7ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["crypted_password", nil], ["email", "admin@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["username", "admin_test"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:35.744230' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:35.756328' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:35.757267' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:35.772570' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:35.773602' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (20, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20 Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee_test' LIMIT 1 SQL (1.7ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["username", "employee_test"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:35.918765' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:35.931316' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:35.932566' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:35.948488' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:35.949453' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin_test' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["crypted_password", nil], ["email", "admin@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["username", "admin_test"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 4], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 4 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 4], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_id", 10], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", 4]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 7, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:35.969729' WHERE "user_preferences"."id" = 10 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 4 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 4], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_id", 11], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", 4]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 7, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:35.983056' WHERE "user_preferences"."id" = 11  (0.0ms) UPDATE "app_containers" SET "user_id" = 4, "updated_at" = '2011-12-14 18:32:35.984081' WHERE "app_containers"."id" = 7 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 4], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 4 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 4 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 4], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["preference_id", 12], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:35 UTC +00:00], ["user_id", 4]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 8, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:36.000935' WHERE "user_preferences"."id" = 12  (0.1ms) UPDATE "app_containers" SET "user_id" = 4, "updated_at" = '2011-12-14 18:32:36.001919' WHERE "app_containers"."id" = 8  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (20, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 21  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (21, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 21 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 21 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin_test' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["crypted_password", nil], ["email", "admin@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["username", "admin_test"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:36.041742' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:36.054338' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:36.055530' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["user_id", 3]]  (0.2ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:32:36.070863' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:32:36.134571' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:32:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (20, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" INNER JOIN "capabilities_capable_models" ON "capable_models"."id" = "capabilities_capable_models"."capable_model_id" WHERE "capabilities_capable_models"."capability_id" = 6  (0.2ms) DELETE FROM "capabilities_capable_models" WHERE "capabilities_capable_models"."capability_id" = 6 AND "capabilities_capable_models"."capable_model_id" IN (16) SQL (0.1ms) DELETE FROM "capabilities" WHERE "capabilities"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 20 AND "roles_secured_models"."role_id" IN (1) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 20]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (internal_identifier = 'test_widget') CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 11 SQL (0.2ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 11]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 11 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 16]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE (username = 'admin_test') User Load (0.1ms) SELECT "users".* FROM "users" WHERE (username = 'employee_test') CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = 'test_type') SQL (0.2ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 5]]  (0.1ms) select sqlite_version(*)  (41.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to BaseTechServices (20080805000010)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "party_id" integer, "type" varchar(255), "salt" varchar(255), "crypted_password" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "failed_logins_count" integer DEFAULT 0, "lock_expires_at" datetime, "remember_me_token" varchar(255), "remember_me_token_expires_at" datetime, "reset_password_token" varchar(255), "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "activation_state" varchar(255), "activation_token" varchar(255), "activation_token_expires_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("users")  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "activity_idx" ON "users" ("last_logout_at", "last_activity_at")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_remember_me_token" ON "users" ("remember_me_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.1ms) CREATE UNIQUE INDEX "index_users_on_activation_token" ON "users" ("activation_token")  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255) NOT NULL, "data" text, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("sessions")  (0.1ms) CREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.1ms) CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")  (0.1ms) CREATE TABLE "audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "application" varchar(255), "description" varchar(255), "party_id" integer, "additional_info" text, "audit_log_type_id" integer, "event_record_id" integer, "event_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("audit_logs")  (0.1ms) CREATE INDEX "index_audit_logs_on_party_id" ON "audit_logs" ("party_id")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.1ms) CREATE INDEX "event_record_index" ON "audit_logs" ("event_record_id", "event_record_type")  (0.1ms) CREATE TABLE "audit_log_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "error_code" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "audit_log_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "audit_log_id" integer, "audit_log_item_type_id" integer, "audit_log_item_value" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "audit_log_item_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "description" varchar(255), "comments" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "secured_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "secured_record_id" integer, "secured_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("secured_models")  (0.1ms) CREATE INDEX "secured_record_idx" ON "secured_models" ("secured_record_id", "secured_record_type")  (0.1ms) CREATE TABLE "roles_secured_models" ("secured_model_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("roles_secured_models")  (0.1ms) CREATE INDEX "index_roles_secured_models_on_secured_model_id" ON "roles_secured_models" ("secured_model_id")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.1ms) CREATE INDEX "index_roles_secured_models_on_role_id" ON "roles_secured_models" ("role_id")  (0.1ms) CREATE TABLE "file_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_asset_holder_id" integer, "file_asset_holder_type" varchar(255), "type" varchar(255), "name" varchar(255), "directory" varchar(255), "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data_updated_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("file_assets")  (0.1ms) CREATE INDEX "index_file_assets_on_type" ON "file_assets" ("type")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.1ms) CREATE INDEX "file_asset_holder_idx" ON "file_assets" ("file_asset_holder_id", "file_asset_holder_type")  (0.1ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("delayed_jobs")  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")  (0.1ms) CREATE TABLE "capable_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "capable_model_record_id" integer, "capable_model_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capable_models")  (0.1ms) CREATE INDEX "capable_model_record_idx" ON "capable_models" ("capable_model_record_id", "capable_model_record_type")  (0.1ms) CREATE TABLE "capability_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "capabilities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource" varchar(255), "capability_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("capabilities")  (0.1ms) CREATE INDEX "index_capabilities_on_capability_type_id" ON "capabilities" ("capability_type_id")  (0.1ms) CREATE TABLE "capabilities_capable_models" ("capable_model_id" integer, "capability_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capable_model_id" ON "capabilities_capable_models" ("capable_model_id")  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.1ms) CREATE INDEX "index_capabilities_capable_models_on_capability_id" ON "capabilities_capable_models" ("capability_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000010') Migrating to BaseErpServices (20080805000020)  (0.3ms) CREATE TABLE "compass_ae_instances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" decimal, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "parties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "business_party_id" integer, "business_party_type" varchar(255), "list_view_image_id" integer, "enterprise_identifier" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("parties")  (0.1ms) CREATE INDEX "besi_1" ON "parties" ("business_party_id", "business_party_type")  (0.1ms) CREATE TABLE "party_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "party_id" integer, "role_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("party_roles")  (0.1ms) CREATE INDEX "index_party_roles_on_party_id" ON "party_roles" ("party_id")  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.2ms) CREATE INDEX "index_party_roles_on_role_type_id" ON "party_roles" ("role_type_id")  (0.1ms) CREATE TABLE "role_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "valid_from_role_type_id" integer, "valid_to_role_type_id" integer, "name" varchar(255), "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("relationship_types")  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_from_role_type_id" ON "relationship_types" ("valid_from_role_type_id")  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.1ms) CREATE INDEX "index_relationship_types_on_valid_to_role_type_id" ON "relationship_types" ("valid_to_role_type_id")  (0.1ms) CREATE TABLE "party_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "party_id_from" integer, "party_id_to" integer, "role_type_id_from" integer, "role_type_id_to" integer, "status_type_id" integer, "priority_type_id" integer, "relationship_type_id" integer, "from_date" date, "thru_date" date, "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("party_relationships")  (0.1ms) CREATE INDEX "index_party_relationships_on_status_type_id" ON "party_relationships" ("status_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_priority_type_id" ON "party_relationships" ("priority_type_id")  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.1ms) CREATE INDEX "index_party_relationships_on_relationship_type_id" ON "party_relationships" ("relationship_type_id")  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "tax_id_number" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "current_last_name" varchar(255), "current_first_name" varchar(255), "current_middle_name" varchar(255), "current_personal_title" varchar(255), "current_suffix" varchar(255), "current_nickname" varchar(255), "gender" varchar(1), "birth_date" date, "height" decimal(5,2), "weight" integer, "mothers_maiden_name" varchar(255), "marital_status" varchar(1), "social_security_number" varchar(255), "current_passport_number" integer, "current_passport_expire_date" date, "total_years_work_experience" integer, "comments" varchar(255), "encrypted_ssn" varchar(255), "temp_ssn" varchar(255), "salt" varchar(255), "ssn_last_four" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("individuals")  (0.1ms) CREATE INDEX "index_individuals_on_party_id" ON "individuals" ("party_id")  (0.1ms) CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "contact_mechanism_id" integer, "contact_mechanism_type" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contacts")  (0.1ms) CREATE INDEX "index_contacts_on_party_id" ON "contacts" ("party_id")  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.1ms) CREATE INDEX "besi_2" ON "contacts" ("contact_mechanism_id", "contact_mechanism_type")  (0.1ms) CREATE TABLE "contact_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("contact_types")  (0.1ms) CREATE INDEX "index_contact_types_on_parent_id" ON "contact_types" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "comments" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "external_id_source" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("contact_purposes")  (0.1ms) CREATE INDEX "index_contact_purposes_on_parent_id" ON "contact_purposes" ("parent_id")  (0.1ms) CREATE TABLE "contact_purposes_contacts" ("contact_id" integer, "contact_purpose_id" integer)   (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.1ms) CREATE INDEX "contact_purposes_contacts_index" ON "contact_purposes_contacts" ("contact_id", "contact_purpose_id")  (0.1ms) CREATE TABLE "postal_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address_line_1" varchar(255), "address_line_2" varchar(255), "city" varchar(255), "state" varchar(255), "zip" varchar(255), "country" varchar(255), "description" varchar(255), "geo_country_id" integer, "geo_zone_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("postal_addresses")  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_country_id" ON "postal_addresses" ("geo_country_id")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.1ms) CREATE INDEX "index_postal_addresses_on_geo_zone_id" ON "postal_addresses" ("geo_zone_id")  (0.1ms) CREATE TABLE "email_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email_address" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "phone_numbers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phone_number" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "party_search_facts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "party_id" integer, "eid" varchar(255), "type" varchar(255), "roles" text, "party_description" varchar(255), "party_business_party_type" varchar(255), "user_login" varchar(255), "individual_current_last_name" varchar(255), "individual_current_first_name" varchar(255), "individual_current_middle_name" varchar(255), "individual_birth_date" varchar(255), "individual_ssn" varchar(255), "party_phone_number" varchar(255), "party_email_address" varchar(255), "party_address_1" varchar(255), "party_address_2" varchar(255), "party_primary_address_city" varchar(255), "party_primary_address_state" varchar(255), "party_primary_address_zip" varchar(255), "party_primary_address_country" varchar(255), "user_enabled" boolean, "user_type" varchar(255), "reindex" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "money" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "amount" float, "currency_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("money")  (0.1ms) CREATE INDEX "index_money_on_currency_id" ON "money" ("currency_id")  (0.1ms) CREATE TABLE "currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "definition" varchar(255), "internal_identifier" varchar(255), "numeric_code" varchar(255), "major_unit_symbol" varchar(255), "minor_unit_symbol" varchar(255), "ratio_of_minor_unit_to_major_unit" varchar(255), "postfix_label" varchar(255), "introduction_date" datetime, "expiration_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("currencies")  (0.1ms) CREATE INDEX "index_currencies_on_internal_identifier" ON "currencies" ("internal_identifier")  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "external_identifier" varchar(255), "from_date" datetime, "to_date" datetime, "internal_identifier" varchar(255), "category_record_id" integer, "category_record_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("categories")  (0.1ms) CREATE INDEX "category_polymorphic" ON "categories" ("category_record_id", "category_record_type")  (0.1ms) CREATE TABLE "category_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "classification_type" varchar(255), "classification_id" integer, "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("category_classifications")  (0.1ms) CREATE INDEX "classification_polymorphic" ON "category_classifications" ("classification_id", "classification_type")  (0.1ms) CREATE TABLE "descriptive_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_type_id" integer, "internal_identifier" varchar(255), "description" text, "external_identifier" varchar(255), "external_id_source" varchar(255), "described_record_id" integer, "described_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("descriptive_assets")  (0.1ms) CREATE INDEX "index_descriptive_assets_on_view_type_id" ON "descriptive_assets" ("view_type_id")  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.1ms) CREATE INDEX "described_record_idx" ON "descriptive_assets" ("described_record_id", "described_record_type")  (0.1ms) CREATE TABLE "view_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "internal_identifier" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "geo_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "iso_code_2" varchar(255), "iso_code_3" varchar(255), "display" boolean DEFAULT 't', "external_id" integer, "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_countries")  (0.1ms) CREATE INDEX "index_geo_countries_on_name" ON "geo_countries" ("name")  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.1ms) CREATE INDEX "index_geo_countries_on_iso_code_2" ON "geo_countries" ("iso_code_2")  (0.1ms) CREATE TABLE "geo_zones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "geo_country_id" integer, "zone_code" varchar(255) DEFAULT 2, "zone_name" varchar(255), "created_at" datetime)  (0.0ms) PRAGMA index_list("geo_zones")  (0.1ms) CREATE INDEX "index_geo_zones_on_geo_country_id" ON "geo_zones" ("geo_country_id")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_name" ON "geo_zones" ("zone_name")  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.1ms) CREATE INDEX "index_geo_zones_on_zone_code" ON "geo_zones" ("zone_code")  (0.1ms) CREATE TABLE "notes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_by_id" integer, "content" text, "noted_record_id" integer, "noted_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("notes")  (0.1ms) CREATE INDEX "index_notes_on_noted_record_id_and_noted_record_type" ON "notes" ("noted_record_id", "noted_record_type")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_note_type_id" ON "notes" ("note_type_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_created_by_id" ON "notes" ("created_by_id")  (0.0ms) PRAGMA index_list("notes")  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.1ms) CREATE INDEX "index_notes_on_content" ON "notes" ("content")  (0.1ms) CREATE TABLE "note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "description" varchar(255), "internal_identifier" varchar(255), "external_identifier" varchar(255), "note_type_record_id" integer, "note_type_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("note_types")  (0.1ms) CREATE INDEX "note_type_record_idx" ON "note_types" ("note_type_record_id", "note_type_record_type")  (0.1ms) CREATE TABLE "valid_note_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "valid_note_type_record_id" integer, "valid_note_type_record_type" varchar(255), "note_type_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("valid_note_types")  (0.1ms) CREATE INDEX "valid_note_type_record_idx" ON "valid_note_types" ("valid_note_type_record_id", "valid_note_type_record_type")  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.1ms) CREATE INDEX "index_valid_note_types_on_note_type_id" ON "valid_note_types" ("note_type_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000020') Migrating to BaseAppFramework (20080805000096)  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_option_id" integer, "preference_type_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preferences")  (0.2ms) CREATE INDEX "index_preferences_on_preference_option_id" ON "preferences" ("preference_option_id")  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.1ms) CREATE INDEX "index_preferences_on_preference_type_id" ON "preferences" ("preference_type_id")  (0.1ms) CREATE TABLE "preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "default_pref_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_types")  (0.1ms) CREATE INDEX "index_preference_types_on_default_pref_option_id" ON "preference_types" ("default_pref_option_id")  (0.1ms) CREATE TABLE "preference_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "value" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "preference_options_preference_types" ("preference_type_id" integer, "preference_option_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.1ms) CREATE INDEX "pref_opt_pref_type_pref_type_id_idx" ON "preference_options_preference_types" ("preference_type_id")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.2ms) CREATE INDEX "pref_opt_pref_type_pref_opt_id_idx" ON "preference_options_preference_types" ("preference_option_id")  (0.1ms) CREATE TABLE "valid_preference_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "preference_type_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255))   (0.1ms) CREATE TABLE "user_preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "preference_id" integer, "preferenced_record_id" integer, "preferenced_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("user_preferences")  (0.1ms) CREATE INDEX "index_user_preferences_on_user_id" ON "user_preferences" ("user_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preference_id" ON "user_preferences" ("preference_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_id" ON "user_preferences" ("preferenced_record_id")  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.1ms) CREATE INDEX "index_user_preferences_on_preferenced_record_type" ON "user_preferences" ("preferenced_record_type")  (0.1ms) CREATE TABLE "app_containers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "description" varchar(255), "internal_identifier" varchar(255), "app_container_record_id" integer, "app_container_record_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers")  (0.1ms) CREATE INDEX "index_app_containers_on_user_id" ON "app_containers" ("user_id")  (0.1ms) CREATE TABLE "desktops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "organizers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "icon" varchar(255), "internal_identifier" varchar(255), "javascript_class_name" varchar(255), "shortcut_id" varchar(255), "type" varchar(255), "resource_loader" varchar(255) DEFAULT 'ErpApp::ApplicationResourceLoader::FileSystemLoader', "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE TABLE "app_containers_applications" ("app_container_id" integer, "application_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) PRAGMA index_list("app_containers_applications")  (0.1ms) CREATE INDEX "index_app_containers_applications_on_application_id" ON "app_containers_applications" ("application_id")  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.1ms) CREATE INDEX "index_app_containers_applications_on_app_container_id" ON "app_containers_applications" ("app_container_id")  (0.1ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "internal_identifier" varchar(255), "icon" varchar(255), "xtype" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "applications_widgets" ("application_id" integer, "widget_id" integer, "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("applications_widgets")  (0.1ms) CREATE INDEX "index_applications_widgets_on_application_id" ON "applications_widgets" ("application_id")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.1ms) CREATE INDEX "index_applications_widgets_on_widget_id" ON "applications_widgets" ("widget_id")  (0.3ms) CREATE TABLE "tree_menu_node_defs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "parent_id" integer, "lft" integer, "rgt" integer, "menu_short_name" varchar(255), "menu_description" varchar(255), "text" varchar(255), "icon_url" varchar(255), "target_url" varchar(255), "resource_class" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.1ms) CREATE INDEX "index_tree_menu_node_defs_on_parent_id" ON "tree_menu_node_defs" ("parent_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080805000096') Migrating to CreateCompassAeInstance (20110913145329)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913145329') Migrating to AddCapabilites (20111109161549)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111109161549')  (1.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("app_containers")  (0.0ms) PRAGMA index_info('index_app_containers_on_user_id')  (0.0ms) PRAGMA index_list("app_containers_applications")  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_app_container_id')  (0.0ms) PRAGMA index_info('index_app_containers_applications_on_application_id')  (0.0ms) PRAGMA index_list("applications")  (0.0ms) PRAGMA index_list("applications_widgets")  (0.0ms) PRAGMA index_info('index_applications_widgets_on_widget_id')  (0.0ms) PRAGMA index_info('index_applications_widgets_on_application_id')  (0.0ms) PRAGMA index_list("audit_log_item_types")  (0.0ms) PRAGMA index_list("audit_log_items")  (0.0ms) PRAGMA index_list("audit_log_types")  (0.0ms) PRAGMA index_list("audit_logs")  (0.0ms) PRAGMA index_info('event_record_index')  (0.1ms) PRAGMA index_info('index_audit_logs_on_party_id')  (0.0ms) PRAGMA index_list("capabilities")  (0.0ms) PRAGMA index_info('index_capabilities_on_capability_type_id')  (0.0ms) PRAGMA index_list("capabilities_capable_models")  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capability_id')  (0.0ms) PRAGMA index_info('index_capabilities_capable_models_on_capable_model_id')  (0.0ms) PRAGMA index_list("capability_types")  (0.0ms) PRAGMA index_list("capable_models")  (0.0ms) PRAGMA index_info('capable_model_record_idx')  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_info('category_polymorphic')  (0.0ms) PRAGMA index_list("category_classifications")  (0.0ms) PRAGMA index_info('classification_polymorphic')  (0.0ms) PRAGMA index_list("compass_ae_instances")  (0.0ms) PRAGMA index_list("contact_purposes")  (0.0ms) PRAGMA index_info('index_contact_purposes_on_parent_id')  (0.0ms) PRAGMA index_list("contact_purposes_contacts")  (0.0ms) PRAGMA index_info('contact_purposes_contacts_index')  (0.0ms) PRAGMA index_list("contact_types")  (0.0ms) PRAGMA index_info('index_contact_types_on_parent_id')  (0.0ms) PRAGMA index_list("contacts")  (0.0ms) PRAGMA index_info('besi_2')  (0.0ms) PRAGMA index_info('index_contacts_on_party_id')  (0.0ms) PRAGMA index_list("currencies")  (0.0ms) PRAGMA index_info('index_currencies_on_internal_identifier')  (0.0ms) PRAGMA index_list("delayed_jobs")  (0.0ms) PRAGMA index_info('delayed_jobs_priority')  (0.0ms) PRAGMA index_list("descriptive_assets")  (0.0ms) PRAGMA index_info('described_record_idx')  (0.0ms) PRAGMA index_info('index_descriptive_assets_on_view_type_id')  (0.0ms) PRAGMA index_list("desktops")  (0.0ms) PRAGMA index_list("email_addresses")  (0.0ms) PRAGMA index_list("file_assets")  (0.0ms) PRAGMA index_info('file_asset_holder_idx')  (0.0ms) PRAGMA index_info('index_file_assets_on_type')  (0.0ms) PRAGMA index_list("geo_countries")  (0.0ms) PRAGMA index_info('index_geo_countries_on_iso_code_2')  (0.0ms) PRAGMA index_info('index_geo_countries_on_name')  (0.0ms) PRAGMA index_list("geo_zones")  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_code')  (0.0ms) PRAGMA index_info('index_geo_zones_on_zone_name')  (0.0ms) PRAGMA index_info('index_geo_zones_on_geo_country_id')  (0.0ms) PRAGMA index_list("individuals")  (0.0ms) PRAGMA index_info('index_individuals_on_party_id')  (0.0ms) PRAGMA index_list("money")  (0.0ms) PRAGMA index_info('index_money_on_currency_id')  (0.0ms) PRAGMA index_list("note_types")  (0.0ms) PRAGMA index_info('note_type_record_idx')  (0.0ms) PRAGMA index_list("notes")  (0.1ms) PRAGMA index_info('index_notes_on_content')  (0.0ms) PRAGMA index_info('index_notes_on_created_by_id')  (0.0ms) PRAGMA index_info('index_notes_on_note_type_id')  (0.0ms) PRAGMA index_info('index_notes_on_noted_record_id_and_noted_record_type')  (0.0ms) PRAGMA index_list("organizations")  (0.0ms) PRAGMA index_list("organizers")  (0.0ms) PRAGMA index_list("parties")  (0.0ms) PRAGMA index_info('besi_1')  (0.0ms) PRAGMA index_list("party_relationships")  (0.0ms) PRAGMA index_info('index_party_relationships_on_relationship_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_priority_type_id')  (0.0ms) PRAGMA index_info('index_party_relationships_on_status_type_id')  (0.0ms) PRAGMA index_list("party_roles")  (0.0ms) PRAGMA index_info('index_party_roles_on_role_type_id')  (0.0ms) PRAGMA index_info('index_party_roles_on_party_id')  (0.0ms) PRAGMA index_list("party_search_facts")  (0.0ms) PRAGMA index_list("phone_numbers")  (0.0ms) PRAGMA index_list("postal_addresses")  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_zone_id')  (0.0ms) PRAGMA index_info('index_postal_addresses_on_geo_country_id')  (0.0ms) PRAGMA index_list("preference_options")  (0.0ms) PRAGMA index_list("preference_options_preference_types")  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_opt_id_idx')  (0.0ms) PRAGMA index_info('pref_opt_pref_type_pref_type_id_idx')  (0.0ms) PRAGMA index_list("preference_types")  (0.0ms) PRAGMA index_info('index_preference_types_on_default_pref_option_id')  (0.0ms) PRAGMA index_list("preferences")  (0.0ms) PRAGMA index_info('index_preferences_on_preference_type_id')  (0.0ms) PRAGMA index_info('index_preferences_on_preference_option_id')  (0.0ms) PRAGMA index_list("relationship_types")  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_to_role_type_id')  (0.0ms) PRAGMA index_info('index_relationship_types_on_valid_from_role_type_id')  (0.0ms) PRAGMA index_list("role_types")  (0.0ms) PRAGMA index_list("roles")  (0.0ms) PRAGMA index_list("roles_secured_models")  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_role_id')  (0.0ms) PRAGMA index_info('index_roles_secured_models_on_secured_model_id')  (0.0ms) PRAGMA index_list("secured_models")  (0.0ms) PRAGMA index_info('secured_record_idx')  (0.0ms) PRAGMA index_list("sessions")  (0.0ms) PRAGMA index_info('index_sessions_on_updated_at')  (0.0ms) PRAGMA index_info('index_sessions_on_session_id')  (0.0ms) PRAGMA index_list("tree_menu_node_defs")  (0.0ms) PRAGMA index_info('index_tree_menu_node_defs_on_parent_id')  (0.0ms) PRAGMA index_list("user_preferences")  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_type')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preferenced_record_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_preference_id')  (0.0ms) PRAGMA index_info('index_user_preferences_on_user_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_activation_token')  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_remember_me_token')  (0.0ms) PRAGMA index_info('activity_idx')  (0.0ms) PRAGMA index_info('index_users_on_username')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.0ms) PRAGMA index_list("valid_note_types")  (0.0ms) PRAGMA index_info('index_valid_note_types_on_note_type_id')  (0.0ms) PRAGMA index_info('valid_note_type_record_idx')  (0.0ms) PRAGMA index_list("valid_preference_types")  (0.0ms) PRAGMA index_list("view_types")  (0.0ms) PRAGMA index_list("widgets") NoteType Load (0.1ms) SELECT "note_types".* FROM "note_types"  ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types"  RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types"  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (37.7ms) CREATE TABLE "data_migrations" ("version" varchar(255))   (2.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819181805')  (0.1ms) select max(version) as current_version from data_migrations  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110525001935' SQL (19.6ms) INSERT INTO "currencies" ("created_at", "definition", "expiration_date", "internal_identifier", "introduction_date", "major_unit_symbol", "minor_unit_symbol", "name", "numeric_code", "postfix_label", "ratio_of_minor_unit_to_major_unit", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["definition", nil], ["expiration_date", nil], ["internal_identifier", "USD"], ["introduction_date", nil], ["major_unit_symbol", "$"], ["minor_unit_symbol", nil], ["name", "US Dollar"], ["numeric_code", nil], ["postfix_label", nil], ["ratio_of_minor_unit_to_major_unit", nil], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]]  (3.4ms) insert into data_migrations (version) values ('20110525001935')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110609150135' GeoCountry Load (0.1ms) SELECT "geo_countries".* FROM "geo_countries" WARNING: Can't mass-assign protected attributes: id SQL (0.7ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 1], ["iso_code_2", "AF"], ["iso_code_3", "AFG"], ["name", "Afghanistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 2], ["iso_code_2", "AL"], ["iso_code_3", "ALB"], ["name", "Albania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 3], ["iso_code_2", "DZ"], ["iso_code_3", "DZA"], ["name", "Algeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 4], ["iso_code_2", "AS"], ["iso_code_3", "ASM"], ["name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 5], ["iso_code_2", "AD"], ["iso_code_3", "AND"], ["name", "Andorra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 6], ["iso_code_2", "AO"], ["iso_code_3", "AGO"], ["name", "Angola"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 7], ["iso_code_2", "AI"], ["iso_code_3", "AIA"], ["name", "Anguilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 8], ["iso_code_2", "AQ"], ["iso_code_3", "ATA"], ["name", "Antarctica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 9], ["iso_code_2", "AG"], ["iso_code_3", "ATG"], ["name", "Antigua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 10], ["iso_code_2", "AR"], ["iso_code_3", "ARG"], ["name", "Argentina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 11], ["iso_code_2", "AM"], ["iso_code_3", "ARM"], ["name", "Armenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 12], ["iso_code_2", "AW"], ["iso_code_3", "ABW"], ["name", "Aruba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 13], ["iso_code_2", "AU"], ["iso_code_3", "AUS"], ["name", "Australia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 14], ["iso_code_2", "AT"], ["iso_code_3", "AUT"], ["name", "Austria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:22 UTC +00:00], ["display", true], ["external_id", nil], ["id", 15], ["iso_code_2", "AZ"], ["iso_code_3", "AZE"], ["name", "Azerbaijan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 16], ["iso_code_2", "BS"], ["iso_code_3", "BHS"], ["name", "Bahamas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 17], ["iso_code_2", "BH"], ["iso_code_3", "BHR"], ["name", "Bahrain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 18], ["iso_code_2", "BD"], ["iso_code_3", "BGD"], ["name", "Bangladesh"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 19], ["iso_code_2", "BB"], ["iso_code_3", "BRB"], ["name", "Barbados"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 20], ["iso_code_2", "BY"], ["iso_code_3", "BLR"], ["name", "Belarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 21], ["iso_code_2", "BE"], ["iso_code_3", "BEL"], ["name", "Belgium"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 22], ["iso_code_2", "BZ"], ["iso_code_3", "BLZ"], ["name", "Belize"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 23], ["iso_code_2", "BJ"], ["iso_code_3", "BEN"], ["name", "Benin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 24], ["iso_code_2", "BM"], ["iso_code_3", "BMU"], ["name", "Bermuda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 25], ["iso_code_2", "BT"], ["iso_code_3", "BTN"], ["name", "Bhutan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 26], ["iso_code_2", "BO"], ["iso_code_3", "BOL"], ["name", "Bolivia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 27], ["iso_code_2", "BA"], ["iso_code_3", "BIH"], ["name", "Bosnia and Herzegowina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 28], ["iso_code_2", "BW"], ["iso_code_3", "BWA"], ["name", "Botswana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 29], ["iso_code_2", "BV"], ["iso_code_3", "BVT"], ["name", "Bouvet Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 30], ["iso_code_2", "BR"], ["iso_code_3", "BRA"], ["name", "Brazil"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 31], ["iso_code_2", "IO"], ["iso_code_3", "IOT"], ["name", "British Indian Ocean Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 32], ["iso_code_2", "BN"], ["iso_code_3", "BRN"], ["name", "Brunei Darussalam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 33], ["iso_code_2", "BG"], ["iso_code_3", "BGR"], ["name", "Bulgaria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 34], ["iso_code_2", "BF"], ["iso_code_3", "BFA"], ["name", "Burkina Faso"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 35], ["iso_code_2", "BI"], ["iso_code_3", "BDI"], ["name", "Burundi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 36], ["iso_code_2", "KH"], ["iso_code_3", "KHM"], ["name", "Cambodia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:23 UTC +00:00], ["display", true], ["external_id", nil], ["id", 37], ["iso_code_2", "CM"], ["iso_code_3", "CMR"], ["name", "Cameroon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 38], ["iso_code_2", "CA"], ["iso_code_3", "CAN"], ["name", "Canada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 39], ["iso_code_2", "CV"], ["iso_code_3", "CPV"], ["name", "Cape Verde"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 40], ["iso_code_2", "KY"], ["iso_code_3", "CYM"], ["name", "Cayman Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 41], ["iso_code_2", "CF"], ["iso_code_3", "CAF"], ["name", "Central African Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 42], ["iso_code_2", "TD"], ["iso_code_3", "TCD"], ["name", "Chad"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 43], ["iso_code_2", "CL"], ["iso_code_3", "CHL"], ["name", "Chile"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 44], ["iso_code_2", "CN"], ["iso_code_3", "CHN"], ["name", "China"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 45], ["iso_code_2", "CX"], ["iso_code_3", "CXR"], ["name", "Christmas Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 46], ["iso_code_2", "CC"], ["iso_code_3", "CCK"], ["name", "Cocos (Keeling) Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 47], ["iso_code_2", "CO"], ["iso_code_3", "COL"], ["name", "Colombia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 48], ["iso_code_2", "KM"], ["iso_code_3", "COM"], ["name", "Comoros"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 49], ["iso_code_2", "CG"], ["iso_code_3", "COG"], ["name", "Congo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 50], ["iso_code_2", "CK"], ["iso_code_3", "COK"], ["name", "Cook Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 51], ["iso_code_2", "CR"], ["iso_code_3", "CRI"], ["name", "Costa Rica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 52], ["iso_code_2", "CI"], ["iso_code_3", "CIV"], ["name", "Cote DIvoire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 53], ["iso_code_2", "HR"], ["iso_code_3", "HRV"], ["name", "Croatia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 54], ["iso_code_2", "CU"], ["iso_code_3", "CUB"], ["name", "Cuba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 55], ["iso_code_2", "CY"], ["iso_code_3", "CYP"], ["name", "Cyprus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 56], ["iso_code_2", "CZ"], ["iso_code_3", "CZE"], ["name", "Czech Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 57], ["iso_code_2", "DK"], ["iso_code_3", "DNK"], ["name", "Denmark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 58], ["iso_code_2", "DJ"], ["iso_code_3", "DJI"], ["name", "Djibouti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:24 UTC +00:00], ["display", true], ["external_id", nil], ["id", 59], ["iso_code_2", "DM"], ["iso_code_3", "DMA"], ["name", "Dominica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 60], ["iso_code_2", "DO"], ["iso_code_3", "DOM"], ["name", "Dominican Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 62], ["iso_code_2", "EC"], ["iso_code_3", "ECU"], ["name", "Ecuador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 63], ["iso_code_2", "EG"], ["iso_code_3", "EGY"], ["name", "Egypt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 64], ["iso_code_2", "SV"], ["iso_code_3", "SLV"], ["name", "El Salvador"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 65], ["iso_code_2", "GQ"], ["iso_code_3", "GNQ"], ["name", "Equatorial Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 66], ["iso_code_2", "ER"], ["iso_code_3", "ERI"], ["name", "Eritrea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 67], ["iso_code_2", "EE"], ["iso_code_3", "EST"], ["name", "Estonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 68], ["iso_code_2", "ET"], ["iso_code_3", "ETH"], ["name", "Ethiopia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 69], ["iso_code_2", "FK"], ["iso_code_3", "FLK"], ["name", "Falkland Islands (Malvinas)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 70], ["iso_code_2", "FO"], ["iso_code_3", "FRO"], ["name", "Faroe Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 71], ["iso_code_2", "FJ"], ["iso_code_3", "FJI"], ["name", "Fiji"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 72], ["iso_code_2", "FI"], ["iso_code_3", "FIN"], ["name", "Finland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 73], ["iso_code_2", "FR"], ["iso_code_3", "FRA"], ["name", "France"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 75], ["iso_code_2", "GF"], ["iso_code_3", "GUF"], ["name", "French Guiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 76], ["iso_code_2", "PF"], ["iso_code_3", "PYF"], ["name", "French Polynesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 77], ["iso_code_2", "TF"], ["iso_code_3", "ATF"], ["name", "French Southern Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 78], ["iso_code_2", "GA"], ["iso_code_3", "GAB"], ["name", "Gabon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 79], ["iso_code_2", "GM"], ["iso_code_3", "GMB"], ["name", "Gambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 80], ["iso_code_2", "GE"], ["iso_code_3", "GEO"], ["name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:25 UTC +00:00], ["display", true], ["external_id", nil], ["id", 81], ["iso_code_2", "DE"], ["iso_code_3", "DEU"], ["name", "Germany"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 82], ["iso_code_2", "GH"], ["iso_code_3", "GHA"], ["name", "Ghana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 83], ["iso_code_2", "GI"], ["iso_code_3", "GIB"], ["name", "Gibraltar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 84], ["iso_code_2", "GR"], ["iso_code_3", "GRC"], ["name", "Greece"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 85], ["iso_code_2", "GL"], ["iso_code_3", "GRL"], ["name", "Greenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 86], ["iso_code_2", "GD"], ["iso_code_3", "GRD"], ["name", "Grenada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 87], ["iso_code_2", "GP"], ["iso_code_3", "GLP"], ["name", "Guadeloupe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 88], ["iso_code_2", "GU"], ["iso_code_3", "GUM"], ["name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 89], ["iso_code_2", "GT"], ["iso_code_3", "GTM"], ["name", "Guatemala"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 90], ["iso_code_2", "GN"], ["iso_code_3", "GIN"], ["name", "Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 91], ["iso_code_2", "GW"], ["iso_code_3", "GNB"], ["name", "Guinea-bissau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 92], ["iso_code_2", "GY"], ["iso_code_3", "GUY"], ["name", "Guyana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 93], ["iso_code_2", "HT"], ["iso_code_3", "HTI"], ["name", "Haiti"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 94], ["iso_code_2", "HM"], ["iso_code_3", "HMD"], ["name", "Heard and Mc Donald Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 95], ["iso_code_2", "HN"], ["iso_code_3", "HND"], ["name", "Honduras"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 96], ["iso_code_2", "HK"], ["iso_code_3", "HKG"], ["name", "Hong Kong"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 97], ["iso_code_2", "HU"], ["iso_code_3", "HUN"], ["name", "Hungary"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:26 UTC +00:00], ["display", true], ["external_id", nil], ["id", 98], ["iso_code_2", "IS"], ["iso_code_3", "ISL"], ["name", "Iceland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 99], ["iso_code_2", "IN"], ["iso_code_3", "IND"], ["name", "India"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 100], ["iso_code_2", "ID"], ["iso_code_3", "IDN"], ["name", "Indonesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 101], ["iso_code_2", "IR"], ["iso_code_3", "IRN"], ["name", "Iran, Islamic Republic o"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 102], ["iso_code_2", "IQ"], ["iso_code_3", "IRQ"], ["name", "Iraq"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 103], ["iso_code_2", "IE"], ["iso_code_3", "IRL"], ["name", "Ireland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 104], ["iso_code_2", "IL"], ["iso_code_3", "ISR"], ["name", "Israel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 105], ["iso_code_2", "IT"], ["iso_code_3", "ITA"], ["name", "Italy"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 106], ["iso_code_2", "JM"], ["iso_code_3", "JAM"], ["name", "Jamaica"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 107], ["iso_code_2", "JP"], ["iso_code_3", "JPN"], ["name", "Japan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 108], ["iso_code_2", "JO"], ["iso_code_3", "JOR"], ["name", "Jordan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:27 UTC +00:00], ["display", true], ["external_id", nil], ["id", 109], ["iso_code_2", "KZ"], ["iso_code_3", "KAZ"], ["name", "Kazakhstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 110], ["iso_code_2", "KE"], ["iso_code_3", "KEN"], ["name", "Kenya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 111], ["iso_code_2", "KI"], ["iso_code_3", "KIR"], ["name", "Kiribati"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 112], ["iso_code_2", "KP"], ["iso_code_3", "PRK"], ["name", "Korea, Democratic People's Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 113], ["iso_code_2", "KR"], ["iso_code_3", "KOR"], ["name", "Korea, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 114], ["iso_code_2", "KW"], ["iso_code_3", "KWT"], ["name", "Kuwait"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 115], ["iso_code_2", "KG"], ["iso_code_3", "KGZ"], ["name", "Kyrgyzstan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 116], ["iso_code_2", "LA"], ["iso_code_3", "LAO"], ["name", "Lao Peoples Democratic Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 117], ["iso_code_2", "LV"], ["iso_code_3", "LVA"], ["name", "Latvia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 118], ["iso_code_2", "LB"], ["iso_code_3", "LBN"], ["name", "Lebanon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 119], ["iso_code_2", "LS"], ["iso_code_3", "LSO"], ["name", "Lesotho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 120], ["iso_code_2", "LR"], ["iso_code_3", "LBR"], ["name", "Liberia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 121], ["iso_code_2", "LY"], ["iso_code_3", "LBY"], ["name", "Libyan Arab Jamahiriya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 122], ["iso_code_2", "LI"], ["iso_code_3", "LIE"], ["name", "Liechtenstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 123], ["iso_code_2", "LT"], ["iso_code_3", "LTU"], ["name", "Lithuania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:28 UTC +00:00], ["display", true], ["external_id", nil], ["id", 124], ["iso_code_2", "LU"], ["iso_code_3", "LUX"], ["name", "Luxembourg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 125], ["iso_code_2", "MO"], ["iso_code_3", "MAC"], ["name", "Macao"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 126], ["iso_code_2", "MK"], ["iso_code_3", "MKD"], ["name", "Macedonia, The Former Yugoslav Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 127], ["iso_code_2", "MG"], ["iso_code_3", "MDG"], ["name", "Madagascar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 128], ["iso_code_2", "MW"], ["iso_code_3", "MWI"], ["name", "Malawi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 129], ["iso_code_2", "MY"], ["iso_code_3", "MYS"], ["name", "Malaysia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 130], ["iso_code_2", "MV"], ["iso_code_3", "MDV"], ["name", "Maldives"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 131], ["iso_code_2", "ML"], ["iso_code_3", "MLI"], ["name", "Mali"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 132], ["iso_code_2", "MT"], ["iso_code_3", "MLT"], ["name", "Malta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 133], ["iso_code_2", "MH"], ["iso_code_3", "MHL"], ["name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 134], ["iso_code_2", "MQ"], ["iso_code_3", "MTQ"], ["name", "Martinique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 135], ["iso_code_2", "MR"], ["iso_code_3", "MRT"], ["name", "Mauritania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 136], ["iso_code_2", "MU"], ["iso_code_3", "MUS"], ["name", "Mauritius"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 137], ["iso_code_2", "YT"], ["iso_code_3", "MYT"], ["name", "Mayotte"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 138], ["iso_code_2", "MX"], ["iso_code_3", "MEX"], ["name", "Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 139], ["iso_code_2", "FM"], ["iso_code_3", "FSM"], ["name", "Micronesia, Federated States of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 140], ["iso_code_2", "MD"], ["iso_code_3", "MDA"], ["name", "Moldova, Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 141], ["iso_code_2", "MC"], ["iso_code_3", "MCO"], ["name", "Monaco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 142], ["iso_code_2", "MN"], ["iso_code_3", "MNG"], ["name", "Mongolia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 143], ["iso_code_2", "MS"], ["iso_code_3", "MSR"], ["name", "Montserrat"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 144], ["iso_code_2", "MA"], ["iso_code_3", "MAR"], ["name", "Morocco"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:29 UTC +00:00], ["display", true], ["external_id", nil], ["id", 145], ["iso_code_2", "MZ"], ["iso_code_3", "MOZ"], ["name", "Mozambique"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 146], ["iso_code_2", "MM"], ["iso_code_3", "MMR"], ["name", "Myanmar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 147], ["iso_code_2", "NA"], ["iso_code_3", "NAM"], ["name", "Namibia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 148], ["iso_code_2", "NR"], ["iso_code_3", "NRU"], ["name", "Nauru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 149], ["iso_code_2", "NP"], ["iso_code_3", "NPL"], ["name", "Nepal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 150], ["iso_code_2", "NL"], ["iso_code_3", "NLD"], ["name", "Netherlands"]] WARNING: Can't mass-assign protected attributes: id SQL (50.5ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 152], ["iso_code_2", "NC"], ["iso_code_3", "NCL"], ["name", "New Caledonia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.3ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 153], ["iso_code_2", "NZ"], ["iso_code_3", "NZL"], ["name", "New Zealand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 154], ["iso_code_2", "NI"], ["iso_code_3", "NIC"], ["name", "Nicaragua"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 155], ["iso_code_2", "NE"], ["iso_code_3", "NER"], ["name", "Niger"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 156], ["iso_code_2", "NG"], ["iso_code_3", "NGA"], ["name", "Nigeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 157], ["iso_code_2", "NU"], ["iso_code_3", "NIU"], ["name", "Niue"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 158], ["iso_code_2", "NF"], ["iso_code_3", "NFK"], ["name", "Norfolk Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 159], ["iso_code_2", "MP"], ["iso_code_3", "MNP"], ["name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 160], ["iso_code_2", "NO"], ["iso_code_3", "NOR"], ["name", "Norway"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 161], ["iso_code_2", "OM"], ["iso_code_3", "OMN"], ["name", "Oman"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 162], ["iso_code_2", "PK"], ["iso_code_3", "PAK"], ["name", "Pakistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 163], ["iso_code_2", "PW"], ["iso_code_3", "PLW"], ["name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 164], ["iso_code_2", "PA"], ["iso_code_3", "PAN"], ["name", "Panama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 165], ["iso_code_2", "PG"], ["iso_code_3", "PNG"], ["name", "Papua New Guinea"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 166], ["iso_code_2", "PY"], ["iso_code_3", "PRY"], ["name", "Paraguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:30 UTC +00:00], ["display", true], ["external_id", nil], ["id", 167], ["iso_code_2", "PE"], ["iso_code_3", "PER"], ["name", "Peru"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 168], ["iso_code_2", "PH"], ["iso_code_3", "PHL"], ["name", "Philippines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 169], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 170], ["iso_code_2", "PL"], ["iso_code_3", "POL"], ["name", "Poland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 171], ["iso_code_2", "PT"], ["iso_code_3", "PRT"], ["name", "Portugal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 172], ["iso_code_2", "PR"], ["iso_code_3", "PRI"], ["name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 173], ["iso_code_2", "QA"], ["iso_code_3", "QAT"], ["name", "Qatar"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 174], ["iso_code_2", "RE"], ["iso_code_3", "REU"], ["name", "Reunion"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 175], ["iso_code_2", "RO"], ["iso_code_3", "ROM"], ["name", "Romania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 176], ["iso_code_2", "RU"], ["iso_code_3", "RUS"], ["name", "Russian Federation"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 177], ["iso_code_2", "RW"], ["iso_code_3", "RWA"], ["name", "Rwanda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 178], ["iso_code_2", "KN"], ["iso_code_3", "KNA"], ["name", "Saint Kitts and Nevis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 179], ["iso_code_2", "LC"], ["iso_code_3", "LCA"], ["name", "Saint Lucia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 180], ["iso_code_2", "VC"], ["iso_code_3", "VCT"], ["name", "Saint Vincent and the Grenadines"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 181], ["iso_code_2", "WS"], ["iso_code_3", "WSM"], ["name", "Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 182], ["iso_code_2", "SM"], ["iso_code_3", "SMR"], ["name", "San Marino"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 183], ["iso_code_2", "ST"], ["iso_code_3", "STP"], ["name", "Sao Tome and Principe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 184], ["iso_code_2", "SA"], ["iso_code_3", "SAU"], ["name", "Saudi Arabia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 185], ["iso_code_2", "SN"], ["iso_code_3", "SEN"], ["name", "Senegal"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 186], ["iso_code_2", "SC"], ["iso_code_3", "SYC"], ["name", "Seychelles"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:31 UTC +00:00], ["display", true], ["external_id", nil], ["id", 187], ["iso_code_2", "SL"], ["iso_code_3", "SLE"], ["name", "Sierra Leone"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 188], ["iso_code_2", "SG"], ["iso_code_3", "SGP"], ["name", "Singapore"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 189], ["iso_code_2", "SK"], ["iso_code_3", "SVK"], ["name", "Slovakia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 190], ["iso_code_2", "SI"], ["iso_code_3", "SVN"], ["name", "Slovenia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 191], ["iso_code_2", "SB"], ["iso_code_3", "SLB"], ["name", "Solomon Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 192], ["iso_code_2", "SO"], ["iso_code_3", "SOM"], ["name", "Somalia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 193], ["iso_code_2", "ZA"], ["iso_code_3", "ZAF"], ["name", "South Africa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 194], ["iso_code_2", "GS"], ["iso_code_3", "SGS"], ["name", "South Georgia and the South Sandwich Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 195], ["iso_code_2", "ES"], ["iso_code_3", "ESP"], ["name", "Spain"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 196], ["iso_code_2", "LK"], ["iso_code_3", "LKA"], ["name", "Sri Lanka"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 197], ["iso_code_2", "SH"], ["iso_code_3", "SHN"], ["name", "Saint Helena, Ascension and Tristan da Cunha"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 198], ["iso_code_2", "PM"], ["iso_code_3", "SPM"], ["name", "Saint Pierre and Miquelon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 199], ["iso_code_2", "SD"], ["iso_code_3", "SDN"], ["name", "Sudan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 200], ["iso_code_2", "SR"], ["iso_code_3", "SUR"], ["name", "Suriname"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 201], ["iso_code_2", "SJ"], ["iso_code_3", "SJM"], ["name", "Svalbard and Jan Mayen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 202], ["iso_code_2", "SZ"], ["iso_code_3", "SWZ"], ["name", "Swaziland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 203], ["iso_code_2", "SE"], ["iso_code_3", "SWE"], ["name", "Sweden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 204], ["iso_code_2", "CH"], ["iso_code_3", "CHE"], ["name", "Switzerland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 205], ["iso_code_2", "SY"], ["iso_code_3", "SYR"], ["name", "Syrian Arab Republic"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 206], ["iso_code_2", "TW"], ["iso_code_3", "TWN"], ["name", "Taiwan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 207], ["iso_code_2", "TJ"], ["iso_code_3", "TJK"], ["name", "Tajikistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 208], ["iso_code_2", "TZ"], ["iso_code_3", "TZA"], ["name", "Tanzania, United Republic of"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:32 UTC +00:00], ["display", true], ["external_id", nil], ["id", 209], ["iso_code_2", "TH"], ["iso_code_3", "THA"], ["name", "Thailand"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 210], ["iso_code_2", "TG"], ["iso_code_3", "TGO"], ["name", "Togo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 211], ["iso_code_2", "TK"], ["iso_code_3", "TKL"], ["name", "Tokelau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 212], ["iso_code_2", "TO"], ["iso_code_3", "TON"], ["name", "Tonga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 213], ["iso_code_2", "TT"], ["iso_code_3", "TTO"], ["name", "Trinidad and Tobago"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 214], ["iso_code_2", "TN"], ["iso_code_3", "TUN"], ["name", "Tunisia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 215], ["iso_code_2", "TR"], ["iso_code_3", "TUR"], ["name", "Turkey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 216], ["iso_code_2", "TM"], ["iso_code_3", "TKM"], ["name", "Turkmenistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 217], ["iso_code_2", "TC"], ["iso_code_3", "TCA"], ["name", "Turks and Caicos Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 218], ["iso_code_2", "TV"], ["iso_code_3", "TUV"], ["name", "Tuvalu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 219], ["iso_code_2", "UG"], ["iso_code_3", "UGA"], ["name", "Uganda"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 220], ["iso_code_2", "UA"], ["iso_code_3", "UKR"], ["name", "Ukraine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 221], ["iso_code_2", "AE"], ["iso_code_3", "ARE"], ["name", "United Arab Emirates"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 222], ["iso_code_2", "GB"], ["iso_code_3", "GBR"], ["name", "United Kingdom"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 223], ["iso_code_2", "US"], ["iso_code_3", "USA"], ["name", "United States"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:33 UTC +00:00], ["display", true], ["external_id", nil], ["id", 224], ["iso_code_2", "UM"], ["iso_code_3", "UMI"], ["name", "United States Minor Outlying Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 225], ["iso_code_2", "UY"], ["iso_code_3", "URY"], ["name", "Uruguay"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 226], ["iso_code_2", "UZ"], ["iso_code_3", "UZB"], ["name", "Uzbekistan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 227], ["iso_code_2", "VU"], ["iso_code_3", "VUT"], ["name", "Vanuatu"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 228], ["iso_code_2", "VA"], ["iso_code_3", "VAT"], ["name", "Holy See (Vatican City State)"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 229], ["iso_code_2", "VE"], ["iso_code_3", "VEN"], ["name", "Venezuela"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 230], ["iso_code_2", "VN"], ["iso_code_3", "VNM"], ["name", "Viet Nam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 231], ["iso_code_2", "VG"], ["iso_code_3", "VGB"], ["name", "Virgin Islands, British"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 232], ["iso_code_2", "VI"], ["iso_code_3", "VIR"], ["name", "Virgin Islands, U.S."]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 233], ["iso_code_2", "WF"], ["iso_code_3", "WLF"], ["name", "Wallis and Futuna"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 234], ["iso_code_2", "EH"], ["iso_code_3", "ESH"], ["name", "Western Sahara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 235], ["iso_code_2", "YE"], ["iso_code_3", "YEM"], ["name", "Yemen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:34 UTC +00:00], ["display", true], ["external_id", nil], ["id", 238], ["iso_code_2", "ZM"], ["iso_code_3", "ZMB"], ["name", "Zambia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 22 Jan 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 239], ["iso_code_2", "ZW"], ["iso_code_3", "ZWE"], ["name", "Zimbabwe"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 240], ["iso_code_2", "MF"], ["iso_code_3", "MAF"], ["name", "Saint Martin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 02 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 241], ["iso_code_2", "AX"], ["iso_code_3", "ALA"], ["name", "Aland Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 242], ["iso_code_2", "CD"], ["iso_code_3", "COD"], ["name", "Congo, Democratic Republic of the"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 243], ["iso_code_2", "GG"], ["iso_code_3", "GGY"], ["name", "Guernsey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 244], ["iso_code_2", "IM"], ["iso_code_3", "IMN"], ["name", "Isle of Man"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 245], ["iso_code_2", "JE"], ["iso_code_3", "JEY"], ["name", "Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 246], ["iso_code_2", "ME"], ["iso_code_3", "MNE"], ["name", "Montenegro"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 247], ["iso_code_2", "PS"], ["iso_code_3", "PSE"], ["name", "Palestinian Territory, Occupied"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 248], ["iso_code_2", "TL"], ["iso_code_3", "TLS"], ["name", "Timor-Leste"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 249], ["iso_code_2", "RS"], ["iso_code_3", "SRB"], ["name", "Serbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 250], ["iso_code_2", "PN"], ["iso_code_3", "PCN"], ["name", "Pitcairn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_countries" ("created_at", "display", "external_id", "id", "iso_code_2", "iso_code_3", "name") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 29 Sep 2010 19:42:35 UTC +00:00], ["display", true], ["external_id", nil], ["id", 251], ["iso_code_2", "BL"], ["iso_code_3", "BLM"], ["name", "Saint Barthelemy"]] GeoZone Load (0.1ms) SELECT "geo_zones".* FROM "geo_zones"  WARNING: Can't mass-assign protected attributes: id SQL (0.4ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 1], ["zone_code", "AL"], ["zone_name", "Alabama"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 2], ["zone_code", "AK"], ["zone_name", "Alaska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 3], ["zone_code", "AS"], ["zone_name", "American Samoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 4], ["zone_code", "AZ"], ["zone_name", "Arizona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 5], ["zone_code", "AR"], ["zone_name", "Arkansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 6], ["zone_code", "AF"], ["zone_name", "Armed Forces"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 7], ["zone_code", "CA"], ["zone_name", "California"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 8], ["zone_code", "CO"], ["zone_name", "Colorado"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 9], ["zone_code", "CT"], ["zone_name", "Connecticut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 10], ["zone_code", "DE"], ["zone_name", "Delaware"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 11], ["zone_code", "DC"], ["zone_name", "District of Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 12], ["zone_code", "FM"], ["zone_name", "Federated States Of Micronesia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 13], ["zone_code", "FL"], ["zone_name", "Florida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 14], ["zone_code", "GA"], ["zone_name", "Georgia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 15], ["zone_code", "GU"], ["zone_name", "Guam"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 16], ["zone_code", "HI"], ["zone_name", "Hawaii"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 17], ["zone_code", "ID"], ["zone_name", "Idaho"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 18], ["zone_code", "IL"], ["zone_name", "Illinois"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 19], ["zone_code", "IN"], ["zone_name", "Indiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 20], ["zone_code", "IA"], ["zone_name", "Iowa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 21], ["zone_code", "KS"], ["zone_name", "Kansas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 22], ["zone_code", "KY"], ["zone_name", "Kentucky"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 23], ["zone_code", "LA"], ["zone_name", "Louisiana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 24], ["zone_code", "ME"], ["zone_name", "Maine"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 25], ["zone_code", "MH"], ["zone_name", "Marshall Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 26], ["zone_code", "MD"], ["zone_name", "Maryland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 27], ["zone_code", "MA"], ["zone_name", "Massachusetts"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 28], ["zone_code", "MI"], ["zone_name", "Michigan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 29], ["zone_code", "MN"], ["zone_name", "Minnesota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 30], ["zone_code", "MS"], ["zone_name", "Mississippi"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 31], ["zone_code", "MO"], ["zone_name", "Missouri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 32], ["zone_code", "MT"], ["zone_name", "Montana"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 33], ["zone_code", "NE"], ["zone_name", "Nebraska"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 34], ["zone_code", "NV"], ["zone_name", "Nevada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 35], ["zone_code", "NH"], ["zone_name", "New Hampshire"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 36], ["zone_code", "NJ"], ["zone_name", "New Jersey"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 37], ["zone_code", "NM"], ["zone_name", "New Mexico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 38], ["zone_code", "NY"], ["zone_name", "New York"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 39], ["zone_code", "NC"], ["zone_name", "North Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 40], ["zone_code", "ND"], ["zone_name", "North Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 41], ["zone_code", "MP"], ["zone_name", "Northern Mariana Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 42], ["zone_code", "OH"], ["zone_name", "Ohio"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 43], ["zone_code", "OK"], ["zone_name", "Oklahoma"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 44], ["zone_code", "OR"], ["zone_name", "Oregon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 45], ["zone_code", "PW"], ["zone_name", "Palau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 46], ["zone_code", "PA"], ["zone_name", "Pennsylvania"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 47], ["zone_code", "PR"], ["zone_name", "Puerto Rico"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 48], ["zone_code", "RI"], ["zone_name", "Rhode Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 49], ["zone_code", "SC"], ["zone_name", "South Carolina"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 50], ["zone_code", "SD"], ["zone_name", "South Dakota"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 51], ["zone_code", "TN"], ["zone_name", "Tennessee"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 52], ["zone_code", "TX"], ["zone_name", "Texas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 53], ["zone_code", "UT"], ["zone_name", "Utah"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 54], ["zone_code", "VT"], ["zone_name", "Vermont"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 55], ["zone_code", "VI"], ["zone_name", "Virgin Islands"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 56], ["zone_code", "VA"], ["zone_name", "Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 57], ["zone_code", "WA"], ["zone_name", "Washington"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 58], ["zone_code", "WV"], ["zone_name", "West Virginia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 59], ["zone_code", "WI"], ["zone_name", "Wisconsin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 223], ["id", 60], ["zone_code", "WY"], ["zone_name", "Wyoming"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 61], ["zone_code", "AB"], ["zone_name", "Alberta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 62], ["zone_code", "BC"], ["zone_name", "British Columbia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 63], ["zone_code", "MB"], ["zone_name", "Manitoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 64], ["zone_code", "NF"], ["zone_name", "Newfoundland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 65], ["zone_code", "NB"], ["zone_name", "New Brunswick"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 66], ["zone_code", "NS"], ["zone_name", "Nova Scotia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 67], ["zone_code", "NT"], ["zone_name", "Northwest Territories"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 68], ["zone_code", "NU"], ["zone_name", "Nunavut"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 69], ["zone_code", "ON"], ["zone_name", "Ontario"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 70], ["zone_code", "PE"], ["zone_name", "Prince Edward Island"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 71], ["zone_code", "QC"], ["zone_name", "Quebec"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 72], ["zone_code", "SK"], ["zone_name", "Saskatchewan"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 38], ["id", 73], ["zone_code", "YT"], ["zone_name", "Yukon Territory"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 74], ["zone_code", "NDS"], ["zone_name", "Niedersachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 75], ["zone_code", "BAW"], ["zone_name", "Baden-Württemberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 76], ["zone_code", "BAY"], ["zone_name", "Bayern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 77], ["zone_code", "BER"], ["zone_name", "Berlin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 78], ["zone_code", "BRG"], ["zone_name", "Brandenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 79], ["zone_code", "BRE"], ["zone_name", "Bremen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 80], ["zone_code", "HAM"], ["zone_name", "Hamburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.2ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 81], ["zone_code", "HES"], ["zone_name", "Hessen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 82], ["zone_code", "MEC"], ["zone_name", "Mecklenburg-Vorpommern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 83], ["zone_code", "NRW"], ["zone_name", "Nordrhein-Westfalen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 84], ["zone_code", "RHE"], ["zone_name", "Rheinland-Pfalz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 85], ["zone_code", "SAR"], ["zone_name", "Saarland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 86], ["zone_code", "SAS"], ["zone_name", "Sachsen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 87], ["zone_code", "SAC"], ["zone_name", "Sachsen-Anhalt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 88], ["zone_code", "SCN"], ["zone_name", "Schleswig-Holstein"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 81], ["id", 89], ["zone_code", "THE"], ["zone_name", "Thüringen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 14], ["id", 90], ["zone_code", "WI"], ["zone_name", "Wien"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 14], ["id", 91], ["zone_code", "NO"], ["zone_name", "Niederösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 14], ["id", 92], ["zone_code", "OO"], ["zone_name", "Oberösterreich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 14], ["id", 93], ["zone_code", "SB"], ["zone_name", "Salzburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 14], ["id", 94], ["zone_code", "KN"], ["zone_name", "Kärnten"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 14], ["id", 95], ["zone_code", "ST"], ["zone_name", "Steiermark"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 14], ["id", 96], ["zone_code", "TI"], ["zone_name", "Tirol"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 14], ["id", 97], ["zone_code", "BL"], ["zone_name", "Burgenland"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 14], ["id", 98], ["zone_code", "VB"], ["zone_name", "Voralberg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 99], ["zone_code", "AG"], ["zone_name", "Aargau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 100], ["zone_code", "AI"], ["zone_name", "Appenzell Innerrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 101], ["zone_code", "AR"], ["zone_name", "Appenzell Ausserrhoden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 102], ["zone_code", "BE"], ["zone_name", "Bern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 103], ["zone_code", "BL"], ["zone_name", "Basel-Landschaft"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 104], ["zone_code", "BS"], ["zone_name", "Basel-Stadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 105], ["zone_code", "FR"], ["zone_name", "Freiburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 106], ["zone_code", "GE"], ["zone_name", "Genf"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 107], ["zone_code", "GL"], ["zone_name", "Glarus"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 108], ["zone_code", "JU"], ["zone_name", "Graubünden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 109], ["zone_code", "JU"], ["zone_name", "Jura"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 110], ["zone_code", "LU"], ["zone_name", "Luzern"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 111], ["zone_code", "NE"], ["zone_name", "Neuenburg"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 112], ["zone_code", "NW"], ["zone_name", "Nidwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 113], ["zone_code", "OW"], ["zone_name", "Obwalden"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 114], ["zone_code", "SG"], ["zone_name", "St. Gallen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 115], ["zone_code", "SH"], ["zone_name", "Schaffhausen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 116], ["zone_code", "SO"], ["zone_name", "Solothurn"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 117], ["zone_code", "SZ"], ["zone_name", "Schwyz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 118], ["zone_code", "TG"], ["zone_name", "Thurgau"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 119], ["zone_code", "TI"], ["zone_name", "Tessin"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 120], ["zone_code", "UR"], ["zone_name", "Uri"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 121], ["zone_code", "VD"], ["zone_name", "Waadt"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 122], ["zone_code", "VS"], ["zone_name", "Wallis"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 123], ["zone_code", "ZG"], ["zone_name", "Zug"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 204], ["id", 124], ["zone_code", "ZH"], ["zone_name", "Zürich"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 125], ["zone_code", "A Coruña"], ["zone_name", "A Coruña"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 126], ["zone_code", "Alava"], ["zone_name", "Alava"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 127], ["zone_code", "Albacete"], ["zone_name", "Albacete"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 128], ["zone_code", "Alicante"], ["zone_name", "Alicante"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 129], ["zone_code", "Almeria"], ["zone_name", "Almeria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 130], ["zone_code", "Asturias"], ["zone_name", "Asturias"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 131], ["zone_code", "Avila"], ["zone_name", "Avila"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 132], ["zone_code", "Badajoz"], ["zone_name", "Badajoz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 133], ["zone_code", "Baleares"], ["zone_name", "Baleares"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 134], ["zone_code", "Barcelona"], ["zone_name", "Barcelona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 135], ["zone_code", "Burgos"], ["zone_name", "Burgos"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 136], ["zone_code", "Caceres"], ["zone_name", "Caceres"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 137], ["zone_code", "Cadiz"], ["zone_name", "Cadiz"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 138], ["zone_code", "Cantabria"], ["zone_name", "Cantabria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 139], ["zone_code", "Castellon"], ["zone_name", "Castellon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 140], ["zone_code", "Ceuta"], ["zone_name", "Ceuta"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 141], ["zone_code", "Ciudad Real"], ["zone_name", "Ciudad Real"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 142], ["zone_code", "Cordoba"], ["zone_name", "Cordoba"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 143], ["zone_code", "Cuenca"], ["zone_name", "Cuenca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 144], ["zone_code", "Girona"], ["zone_name", "Girona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 145], ["zone_code", "Granada"], ["zone_name", "Granada"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 146], ["zone_code", "Guadalajara"], ["zone_name", "Guadalajara"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 147], ["zone_code", "Guipuzcoa"], ["zone_name", "Guipuzcoa"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 148], ["zone_code", "Huelva"], ["zone_name", "Huelva"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 149], ["zone_code", "Huesca"], ["zone_name", "Huesca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 150], ["zone_code", "Jaen"], ["zone_name", "Jaen"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 151], ["zone_code", "La Rioja"], ["zone_name", "La Rioja"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 152], ["zone_code", "Las Palmas"], ["zone_name", "Las Palmas"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 153], ["zone_code", "Leon"], ["zone_name", "Leon"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 154], ["zone_code", "Lleida"], ["zone_name", "Lleida"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 155], ["zone_code", "Lugo"], ["zone_name", "Lugo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 156], ["zone_code", "Madrid"], ["zone_name", "Madrid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 157], ["zone_code", "Malaga"], ["zone_name", "Malaga"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 158], ["zone_code", "Melilla"], ["zone_name", "Melilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 159], ["zone_code", "Murcia"], ["zone_name", "Murcia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 160], ["zone_code", "Navarra"], ["zone_name", "Navarra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 161], ["zone_code", "Ourense"], ["zone_name", "Ourense"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 162], ["zone_code", "Palencia"], ["zone_name", "Palencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 163], ["zone_code", "Pontevedra"], ["zone_name", "Pontevedra"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 164], ["zone_code", "Salamanca"], ["zone_name", "Salamanca"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 165], ["zone_code", "Santa Cruz de Tenerife"], ["zone_name", "Santa Cruz de Tenerife"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 166], ["zone_code", "Segovia"], ["zone_name", "Segovia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 167], ["zone_code", "Sevilla"], ["zone_name", "Sevilla"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 168], ["zone_code", "Soria"], ["zone_name", "Soria"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 169], ["zone_code", "Tarragona"], ["zone_name", "Tarragona"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 170], ["zone_code", "Teruel"], ["zone_name", "Teruel"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 171], ["zone_code", "Toledo"], ["zone_name", "Toledo"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 172], ["zone_code", "Valencia"], ["zone_name", "Valencia"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 173], ["zone_code", "Valladolid"], ["zone_name", "Valladolid"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 174], ["zone_code", "Vizcaya"], ["zone_name", "Vizcaya"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 175], ["zone_code", "Zamora"], ["zone_name", "Zamora"]] WARNING: Can't mass-assign protected attributes: id SQL (0.1ms) INSERT INTO "geo_zones" ("created_at", "geo_country_id", "id", "zone_code", "zone_name") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["geo_country_id", 195], ["id", 176], ["zone_code", "Zaragoza"], ["zone_name", "Zaragoza"]]  (7.8ms) insert into data_migrations (version) values ('20110609150135')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110728201729' ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'default' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.8ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Default"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "default"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'home' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Home"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "home"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'work' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Work"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "work"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'billing' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Billing"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "billing"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'temporary' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Temporary"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "temporary"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'tax_reporting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Tax Reporting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "tax_reporting"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'recruiting' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Recruiting"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "recruiting"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'employment_offer' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Employment Offer"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employment_offer"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Business"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "business"], ["lft", 17], ["parent_id", nil], ["rgt", 18], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'personal' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Personal"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "personal"], ["lft", 19], ["parent_id", nil], ["rgt", 20], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'fax' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Fax"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "fax"], ["lft", 21], ["parent_id", nil], ["rgt", 22], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'mobile' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Mobile"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "mobile"], ["lft", 23], ["parent_id", nil], ["rgt", 24], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'emergency' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Emergency"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "emergency"], ["lft", 25], ["parent_id", nil], ["rgt", 26], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'shipping' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Shipping"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "shipping"], ["lft", 27], ["parent_id", nil], ["rgt", 28], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = 'other' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "contact_purposes" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00], ["description", "Other"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "other"], ["lft", 29], ["parent_id", nil], ["rgt", 30], ["updated_at", Wed, 14 Dec 2011 18:45:54 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles"   (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('admin') LIMIT 1 SQL (0.5ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Admin"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "admin"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]]  (0.1ms) SELECT 1 FROM "roles" WHERE LOWER("roles"."internal_identifier") = LOWER('employee') LIMIT 1 SQL (0.2ms) INSERT INTO "roles" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Employee"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "employee"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.5ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Shortcut"], ["internal_identifier", "desktop_shortcut"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["default_pref_option_id", nil], ["description", "Autoload Application"], ["internal_identifier", "autoload_application"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.3ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Yes"], ["internal_identifier", "yes"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["value", "yes"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "No"], ["internal_identifier", "no"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["value", "no"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["value", "blue.gif"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Grey Gradient"], ["internal_identifier", "grey_gradient_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["value", "gradient.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Purple"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["value", "purple.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Planet"], ["internal_identifier", "purple_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["value", "planet.jpg"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Portablemind"], ["internal_identifier", "portablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["value", "portablemind.png"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Access"], ["internal_identifier", "access_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["value", "ext-all-access.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Gray"], ["internal_identifier", "gray_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["value", "ext-all-gray.css"]] SQL (0.1ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (3, 2)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:45:55.217077' WHERE "preference_types"."id" = 3  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 1)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (4, 2)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 2, "updated_at" = '2011-12-14 18:45:55.219536' WHERE "preference_types"."id" = 4  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 3)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 4)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 5)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 6)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (1, 7)  (0.0ms) UPDATE "preference_types" SET "default_pref_option_id" = 7, "updated_at" = '2011-12-14 18:45:55.221350' WHERE "preference_types"."id" = 1  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 8)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 9)  (0.0ms) INSERT INTO "preference_options_preference_types" ("preference_type_id", "preference_option_id") VALUES (2, 10)  (0.1ms) UPDATE "preference_types" SET "default_pref_option_id" = 10, "updated_at" = '2011-12-14 18:45:55.222837' WHERE "preference_types"."id" = 2 NoteType Load (0.2ms) SELECT "note_types".* FROM "note_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "note_types" ("created_at", "description", "external_identifier", "internal_identifier", "lft", "note_type_record_id", "note_type_record_type", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Basic Note"], ["external_identifier", nil], ["internal_identifier", "basic_note"], ["lft", 1], ["note_type_record_id", nil], ["note_type_record_type", nil], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'shared_notesgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Notes"], ["icon", "icon-documents"], ["internal_identifier", "shared_notes_grid"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["xtype", "shared_notesgrid"]] SQL (0.3ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (1, 2)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'shared_notesgrid' AND "widgets"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'shared_notes_grid' AND "widgets"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Application Management"], ["icon", "icon-user"], ["internal_identifier", "application_management"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["xtype", "controlpanel_userapplicationmgtpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 2  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (2, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'controlpanel_userapplicationmgtpanel' AND "widgets"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_management' AND "widgets"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_rolemanagementpanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'role_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Role Management"], ["icon", "icon-user"], ["internal_identifier", "role_management"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["xtype", "usermanagement_rolemanagementpanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 3  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (3, 1)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_rolemanagementpanel' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'role_management' AND "widgets"."id" != 3) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'usermanagement_personalinfopanel' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'user_personal_info' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "User Personal Info"], ["icon", "icon-user"], ["internal_identifier", "user_personal_info"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["xtype", "usermanagement_personalinfopanel"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 4  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (4, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'usermanagement_personalinfopanel' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'user_personal_info' AND "widgets"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "User Management"], ["icon", "icon-user"], ["internal_identifier", "user_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.UserManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "user-management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (4.3ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 1], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 1], ["preferenced_record_type", "Application"]]  (0.1ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 3)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 4)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (1, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.UserManagement' AND "applications"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'user_management' AND "applications"."id" != 1 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'systemmanagement_applicationrolemanagment' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'application_role_management' LIMIT 1 SQL (0.2ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Application Role Management"], ["icon", "icon-document"], ["internal_identifier", "application_role_management"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["xtype", "systemmanagement_applicationrolemanagment"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 5  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (5, 1)  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'systemmanagement_applicationrolemanagment' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'application_role_management' AND "widgets"."id" != 5) LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "System Management"], ["icon", "icon-monitor"], ["internal_identifier", "system_management"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.SystemManagement"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "system_management-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 2], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]] SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 2], ["preferenced_record_type", "Application"]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (2, 5)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.SystemManagement' AND "applications"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'system_management' AND "applications"."id" != 2 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.1ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Scaffold"], ["icon", "icon-data"], ["internal_identifier", "scaffold"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.Scaffold"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "scaffold-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 3], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 3], ["preferenced_record_type", "Application"]]  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.Scaffold' AND "applications"."id" != 3) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'scaffold' AND "applications"."id" != 3 AND "applications"."type" = 'DesktopApplication') LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'contactmechanismgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Party Contact Management"], ["icon", "icon-grid"], ["internal_identifier", "party_contact_management"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["xtype", "contactmechanismgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (6, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'contactmechanismgrid' AND "widgets"."id" != 6) LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_contact_management' AND "widgets"."id" != 6) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'partygrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_management_widget' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Party Management"], ["icon", "icon-grid"], ["internal_identifier", "party_management_widget"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["xtype", "partygrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["secured_record_id", 7], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 7], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 7  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (7, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."xtype" = 'partygrid' AND "widgets"."id" != 7) LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE ("widgets"."internal_identifier" = 'party_management_widget' AND "widgets"."id" != 7) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.5ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "CRM"], ["icon", "icon-user"], ["internal_identifier", "crm"], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 4], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]]  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 6)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 7)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["current_first_name", "Admin"], ["current_last_name", "Istrator"], ["current_middle_name", nil], ["current_nickname", nil], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", nil], ["encrypted_ssn", nil], ["gender", "m"], ["height", nil], ["marital_status", nil], ["mothers_maiden_name", nil], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["weight", nil]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "Admin Istrator"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_first_name" = 'Admin', "current_last_name" = 'Istrator', "gender" = 'm', "created_at" = '2011-12-14 18:45:55.615669', "updated_at" = '2011-12-14 18:45:55.615669' WHERE "individuals"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "organizations" ("created_at", "description", "tax_id_number", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "TrueNorth"], ["tax_id_number", nil], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 1], ["business_party_type", "Organization"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", "TrueNorth"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]]  (0.1ms) UPDATE "organizations" SET "description" = 'TrueNorth', "created_at" = '2011-12-14 18:45:55.703618', "updated_at" = '2011-12-14 18:45:55.703618' WHERE "organizations"."id" = 1 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE (current_first_name = 'Admin') LIMIT 1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["crypted_password", nil], ["email", "admin@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["username", "admin"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.6ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["preference_id", 1], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:55.855801' WHERE "user_preferences"."id" = 1 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["preference_id", 2], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 1, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:55.865261' WHERE "user_preferences"."id" = 2  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:45:55.866280' WHERE "app_containers"."id" = 1 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 1], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 1], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["preference_id", 3], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:55 UTC +00:00], ["user_id", 1]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 2, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:55.882149' WHERE "user_preferences"."id" = 3  (0.0ms) UPDATE "app_containers" SET "user_id" = 1, "updated_at" = '2011-12-14 18:45:55.883113' WHERE "app_containers"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Individual' LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 1, "activation_state" = 'active', "salt" = 'h8t85wgZwJrEAwxDxDMe', "crypted_password" = '$2a$10$.p/HxUGvJYP81myUh.dM9eOPURFGecHhg1nIOt9kS9RUNTNbWQ/OG', "updated_at" = '2011-12-14 18:45:56.022114' WHERE "users"."id" = 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 8  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (8, 1)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 Organization Load (0.1ms) SELECT "organizations".* FROM "organizations" WHERE (description = 'TrueNorth') LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'truenorth@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (51.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["crypted_password", nil], ["email", "truenorth@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["username", "truenorth"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["preference_id", 4], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:56.096707' WHERE "user_preferences"."id" = 4 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["preference_id", 5], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 3, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:56.107074' WHERE "user_preferences"."id" = 5  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:45:56.107956' WHERE "app_containers"."id" = 3 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 2], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 2], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["preference_id", 6], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 4, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:56.120864' WHERE "user_preferences"."id" = 6  (0.0ms) UPDATE "app_containers" SET "user_id" = 2, "updated_at" = '2011-12-14 18:45:56.121742' WHERE "app_containers"."id" = 4 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 1 AND "parties"."business_party_type" = 'Organization' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1  (0.1ms) UPDATE "users" SET "party_id" = 2, "salt" = 'H8qmvqKxJ9qts2Ef1F1L', "crypted_password" = '$2a$10$vY5bYMzg991NTcTLdEN/w.agxnqFWL7mAJdNq/LAYc2kbQui1aIaC', "updated_at" = '2011-12-14 18:45:56.251538' WHERE "users"."id" = 2  (0.1ms) UPDATE "users" SET "activation_state" = 'active', "updated_at" = '2011-12-14 18:45:56.252770' WHERE "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 9  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (9, 1)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (2, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 1) LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 1) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 2) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 3) SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1 SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (4, 4) SQL (0.1ms) SELECT "organizers"."id" AS t0_r0, "organizers"."created_at" AS t0_r1, "organizers"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "organizers" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "organizers"."id" AND "app_containers"."app_container_record_type" = 'Organizer' WHERE (app_containers.user_id = 2) LIMIT 1  (5.0ms) insert into data_migrations (version) values ('20110728201729')  (0.2ms) select count(*) as num_rows from data_migrations where version = '20110802200222' SQL (1.0ms) INSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["attempts", 0], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["failed_at", nil], ["handler", "--- !ruby/object:ErpTechSvcs::Sessions::DeleteExpiredSessionsJob \npriority: 1\n"], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["run_at", Thu, 15 Dec 2011 07:00:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]]  (4.6ms) insert into data_migrations (version) values ('20110802200222')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110817160743'  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.3ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "File Manager"], ["icon", "icon-folders"], ["internal_identifier", "file_manager"], ["javascript_class_name", "Compass.ErpApp.Desktop.Applications.FileManager"], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", "file_manager-win"], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 5], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_shortcut') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 3], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'autoload_application') LIMIT 1 SQL (0.0ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 4], ["preferenced_record_id", 5], ["preferenced_record_type", "Application"]]  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = 'Compass.ErpApp.Desktop.Applications.FileManager' AND "applications"."id" != 5) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'file_manager' AND "applications"."id" != 5 AND "applications"."type" = 'DesktopApplication') LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'admin' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 1) LIMIT 1  (0.1ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (1, 5)  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'admin@portablemind.com' AND "users"."id" != 1) LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'admin' AND "users"."id" != 1) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 1 AND "secured_models"."secured_record_type" = 'User' LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'truenorth' LIMIT 1 SQL (0.1ms) SELECT "desktops"."id" AS t0_r0, "desktops"."created_at" AS t0_r1, "desktops"."updated_at" AS t0_r2, "app_containers"."id" AS t1_r0, "app_containers"."user_id" AS t1_r1, "app_containers"."description" AS t1_r2, "app_containers"."internal_identifier" AS t1_r3, "app_containers"."app_container_record_id" AS t1_r4, "app_containers"."app_container_record_type" AS t1_r5, "app_containers"."created_at" AS t1_r6, "app_containers"."updated_at" AS t1_r7 FROM "desktops" LEFT OUTER JOIN "app_containers" ON "app_containers"."app_container_record_id" = "desktops"."id" AND "app_containers"."app_container_record_type" = 'Desktop' WHERE (app_containers.user_id = 2) LIMIT 1  (0.0ms) INSERT INTO "app_containers_applications" ("app_container_id", "application_id") VALUES (3, 5)  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."email" = 'truenorth@gmail.com' AND "users"."id" != 2) LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE ("users"."username" = 'truenorth' AND "users"."id" != 2) LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 2 AND "secured_models"."secured_record_type" = 'User' LIMIT 1  (5.0ms) insert into data_migrations (version) values ('20110817160743')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20110913145838' SQL (0.5ms) INSERT INTO "compass_ae_instances" ("created_at", "updated_at", "version") VALUES (?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["version", #]]  (6.2ms) insert into data_migrations (version) values ('20110913145838')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111108183740' OrganizerApplication Load (0.2ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('OrganizerApplication') AND "applications"."internal_identifier" = 'crm' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'party_contact_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 6 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 6 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 4 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1  (0.2ms) DELETE FROM "applications_widgets" WHERE "applications_widgets"."widget_id" = 6 AND "applications_widgets"."application_id" IN (4) SQL (0.1ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 6  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 6 AND "roles_secured_models"."role_id" IN (1, 2) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 6]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 9 SQL (0.2ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 9]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'phonenumbergrid' LIMIT 1  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'phone_number_management' LIMIT 1 SQL (0.3ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Phone Number Management"], ["icon", "icon-grid"], ["internal_identifier", "phone_number_management"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["xtype", "phonenumbergrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["secured_record_id", 8], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 8], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 10  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (10, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'emailaddressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'email_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Email Address Management"], ["icon", "icon-grid"], ["internal_identifier", "email_address_management"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["xtype", "emailaddressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["secured_record_id", 9], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 9], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 11  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (11, 2)  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = 'postaladdressgrid' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'postal_address_management' LIMIT 1 SQL (0.1ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Postal Address Management"], ["icon", "icon-grid"], ["internal_identifier", "postal_address_management"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["xtype", "postaladdressgrid"]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["secured_record_id", 10], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 10], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 12  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (12, 2)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 8)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 9)  (0.0ms) INSERT INTO "applications_widgets" ("application_id", "widget_id") VALUES (4, 10)  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."javascript_class_name" = '' AND "applications"."id" != 4) LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = 'crm' AND "applications"."id" != 4 AND "applications"."type" = 'OrganizerApplication') LIMIT 1  (3.7ms) insert into data_migrations (version) values ('20111108183740')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111111144706' AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types"  AuditLogType Load (0.2ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.9ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Application"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "application"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Custom Message"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "custom_message"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] AuditLogType Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 2]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Successful Logout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_logout"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 4 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 4 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 3]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Successful Login"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "successful_login"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 6 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 6 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 4]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Accessed Area"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "accessed_area"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 8 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 8 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 5 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 5]] AuditLogType Load (0.1ms) SELECT "audit_log_types".* FROM "audit_log_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "audit_log_types" ("comments", "created_at", "description", "error_code", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Session Timeout"], ["error_code", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "session_timeout"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]] SQL (0.1ms) UPDATE "audit_log_types" SET "lft" = CASE WHEN "lft" BETWEEN 10 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 10 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 10 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 10 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 6 THEN 1 ELSE "parent_id" END WHERE "audit_log_types"."id" IN (SELECT "audit_log_types"."id" FROM "audit_log_types" ORDER BY "lft") AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 1]] AuditLogType Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "audit_log_types" WHERE "audit_log_types"."id" = ? LIMIT 1 [["id", 6]]  (3.5ms) insert into data_migrations (version) values ('20111111144706')  (0.1ms) select count(*) as num_rows from data_migrations where version = '20111117192549' SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Edit"], ["internal_identifier", "edit"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Delete"], ["internal_identifier", "delete"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "Create"], ["internal_identifier", "create"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["description", "View"], ["internal_identifier", "view"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] DesktopApplication Load (0.1ms) SELECT "applications".* FROM "applications" WHERE "applications"."type" IN ('DesktopApplication') AND "applications"."internal_identifier" = 'user_management' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Application' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 3 and resource = 'User') LIMIT 1 SQL (0.3ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["secured_record_id", 1], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 13  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (13, 1)  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 1) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 5 AND (capability_type_id = 2 and resource = 'User') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["resource", "User"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["secured_record_id", 2], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 14  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (14, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (5, 2) Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'shared_notes_grid' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 1 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'create' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 3 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 3], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 15  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (15, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 3) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'view' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 4 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 4], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 16  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 1) Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'employee' LIMIT 1  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (16, 2)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 4) CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'delete' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 1 AND (capability_type_id = 2 and resource = 'Note') LIMIT 1 SQL (0.1ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 2], ["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] SQL (0.1ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00], ["secured_record_id", 5], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:45:56 UTC +00:00]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 17  (0.0ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (17, 1)  (0.0ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (1, 5)  (3.7ms) insert into data_migrations (version) values ('20111117192549')  (0.1ms) SAVEPOINT active_record_1 SQL (28.3ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.2ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.8ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:45:58.186411', "updated_at" = '2011-12-14 18:45:58.186411' WHERE "individuals"."id" = 2 Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["description", "party 1"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["value", "portablemind.png"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user1@portablemind.com' LIMIT 1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin1' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.5ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["crypted_password", "$2a$10$jOTN/hdewkLaMVUy9FnTzuggdn.VUKknG/kcm143d4DeO3SVDZ57S"], ["email", "user1@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["username", "admin1"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:45:58 UTC +00:00]] Rendered /Users/russellfholmes/Desktop/compass/compass_dev/lib/compass/Compass-AE-Kernel/erp_tech_svcs/app/views/user_mailer/activation_needed_email.html.erb (21.6ms) Sent mail to user1@portablemind.com (139ms) Date: Wed, 14 Dec 2011 13:45:59 -0500 From: notifications@noreply.com To: user1@portablemind.com Message-ID: <4ee8eee722af8_1c508208244c544b4@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin1

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin1 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.4ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.2ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.4ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:59.378813' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:59.395553' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:45:59.396710' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:59.415075' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:45:59.416061' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:45:59.418209', "updated_at" = '2011-12-14 18:45:59.418477' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.2ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1) Rendered inline template (0.3ms)  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:45:59.514550', "updated_at" = '2011-12-14 18:45:59.515216' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 74ms (Views: 59.9ms | ActiveRecord: 0.5ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:45:59.523103', "updated_at" = '2011-12-14 18:45:59.523103' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "party 2"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user2@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin2' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["crypted_password", "$2a$10$rfIIG42UyjAk8jlr1QfKn.jDyKyhKId8b4GzbMvg2pVKFAINpSx1G"], ["email", "user2@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["username", "admin2"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] Sent mail to user2@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:45:59 -0500 From: notifications@noreply.com To: user2@portablemind.com Message-ID: <4ee8eee79c316_1c508208244c54517@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin2

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin2 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (1.0ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:59.663281' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:59.675705' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:45:59.676669' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:59.691871' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:45:59.692794' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:45:59.694768', "updated_at" = '2011-12-14 18:45:59.695031' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"use_route"=>"erp_app"} Completed 404 Not Found in 1ms  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:45:59.703860', "updated_at" = '2011-12-14 18:45:59.703860' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "party 3"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["value", "ext-all.css"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user3@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin3' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["crypted_password", "$2a$10$jbt/w4zEtUdd.fyklRGdxe7T1LEpXfZZu.57HN7dBq5F54clelAFi"], ["email", "user3@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["username", "admin3"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] Sent mail to user3@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:45:59 -0500 From: notifications@noreply.com To: user3@portablemind.com Message-ID: <4ee8eee7c7fe2_1c508208244c5467a@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin3

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin3 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.7ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.5ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:59.841000' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.2ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:59.914517' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:45:59.915541' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:45:59.931723' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:45:59.932687' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:45:59.934714', "updated_at" = '2011-12-14 18:45:59.934994' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"} Party Load (0.0ms) SELECT "parties".* FROM "parties" WHERE "parties"."id" = ? LIMIT 1 [["id", "1"]] PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 1)  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:45:59.939084', "updated_at" = '2011-12-14 18:45:59.939597' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.1ms)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:45:59.946164', "updated_at" = '2011-12-14 18:45:59.946164' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "party 4"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "portablemind_desktop_background"], ["internal_identifier", "protablemind_desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["value", "portablemind.png"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Desktop Background"], ["internal_identifier", "desktop_background"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["description", "Blue"], ["internal_identifier", "blue_extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["value", "ext-all.css"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00], ["default_pref_option_id", nil], ["description", "Theme"], ["internal_identifier", "extjs_theme"], ["updated_at", Wed, 14 Dec 2011 18:45:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'user4@portablemind.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin4' LIMIT 1 Binary data inserted for `string` type on column `crypted_password` SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", "active"], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["crypted_password", "$2a$10$Kf4L7hrA2PaFjnMM3sQcIOPc6h.Jy0efqGPRcynxoj6XQaCkC091S"], ["email", "user4@portablemind.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", 4], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", "asdasdastr4325234324sdfds"], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["username", "admin4"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] Sent mail to user4@portablemind.com (8ms) Date: Wed, 14 Dec 2011 13:46:00 -0500 From: notifications@noreply.com To: user4@portablemind.com Message-ID: <4ee8eee8ec9a_1c508208244c54777@Russell-Holmess-MacBook-Pro.local.mail> Subject: An account has been created and needs activation Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Welcome admin4

You have successfully registered, to activate your account follow this link: localhost:3000/users/activate/.

Your username is admin4 and your temporary password is

Thanks for joining and have a great day!!

SQL (0.3ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:00.081594' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:00.093939' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:46:00.094934' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:00.110440' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:46:00.111386' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "users" SET "last_login_at" = '2011-12-14 18:46:00.113381', "updated_at" = '2011-12-14 18:46:00.113656' WHERE "users"."id" = 3  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 5"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 6"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.2ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 1"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_1"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 2"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_2"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 3"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_3"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 4"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_4"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 1"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 7"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 8"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 5"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_5"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 6"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_6"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 7"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_7"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 8"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_8"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 2"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["valid_from_role_type_id", 7], ["valid_to_role_type_id", 8]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by ErpApp::Organizer::Crm::RelationshipController#index as HTML Parameters: {"party_id"=>"1", "relationship_type"=>"customer_of_partner", "use_route"=>"erp_app"}  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "users" SET "last_activity_at" = '2011-12-14 18:46:00.271472', "updated_at" = '2011-12-14 18:46:00.272014' WHERE "users"."id" = 3  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", nil], ["app_container_record_type", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" IS NULL) LIMIT 1 SQL (1.0ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (5.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'DesktopApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "DesktopApplication"], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:46:00.506949', "updated_at" = '2011-12-14 18:46:00.506949' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 9"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 10"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 9"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_9"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 10"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_10"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 11"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_11"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 12"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_12"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 3"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:46:00.559896', "updated_at" = '2011-12-14 18:46:00.559896' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 11"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 12"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 13"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_13"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 14"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_14"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 15"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_15"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 16"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_16"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 4"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (59.1ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:46:00.667259', "updated_at" = '2011-12-14 18:46:00.667259' WHERE "individuals"."id" = 3 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 3 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 3], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 13"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "Created a new relationship for a test"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 7], ["priority_type_id", nil], ["relationship_type_id", nil], ["role_type_id_from", nil], ["role_type_id_to", nil], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:46:00.700707', "updated_at" = '2011-12-14 18:46:00.700707' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 14"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.6ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 15"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 17"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_17"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 18"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_18"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 19"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_19"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 20"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_20"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (1.0ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 5"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 21"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_21"], ["lft", 9], ["parent_id", nil], ["rgt", 10], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 22"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_22"], ["lft", 11], ["parent_id", nil], ["rgt", 12], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "Test Relationship Type"], ["lft", 3], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["valid_from_role_type_id", 5], ["valid_to_role_type_id", 6]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 16"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 23"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_23"], ["lft", 13], ["parent_id", nil], ["rgt", 14], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 24"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_24"], ["lft", 15], ["parent_id", nil], ["rgt", 16], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 6], ["priority_type_id", nil], ["relationship_type_id", 2], ["role_type_id_from", 7], ["role_type_id_to", 8], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4) RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 1 LIMIT 1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" WHERE "relationship_types"."id" = 2 LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "individuals" ("birth_date", "comments", "created_at", "current_first_name", "current_last_name", "current_middle_name", "current_nickname", "current_passport_expire_date", "current_passport_number", "current_personal_title", "current_suffix", "encrypted_ssn", "gender", "height", "marital_status", "mothers_maiden_name", "party_id", "salt", "social_security_number", "ssn_last_four", "temp_ssn", "total_years_work_experience", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["birth_date", nil], ["comments", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["current_first_name", "John"], ["current_last_name", "Doe"], ["current_middle_name", "Will"], ["current_nickname", "Billy"], ["current_passport_expire_date", nil], ["current_passport_number", nil], ["current_personal_title", nil], ["current_suffix", "Jr"], ["encrypted_ssn", nil], ["gender", "m"], ["height", #], ["marital_status", nil], ["mothers_maiden_name", "Smith"], ["party_id", nil], ["salt", nil], ["social_security_number", nil], ["ssn_last_four", nil], ["temp_ssn", nil], ["total_years_work_experience", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["weight", 180]] ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "John Doe"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) UPDATE "individuals" SET "current_last_name" = 'Doe', "current_first_name" = 'John', "current_middle_name" = 'Will', "current_suffix" = 'Jr', "current_nickname" = 'Billy', "gender" = 'm', "height" = 6.0, "weight" = 180, "mothers_maiden_name" = 'Smith', "created_at" = '2011-12-14 18:46:00.772351', "updated_at" = '2011-12-14 18:46:00.772351' WHERE "individuals"."id" = 2 Party Load (0.1ms) SELECT "parties".* FROM "parties" WHERE "parties"."business_party_id" = 2 AND "parties"."business_party_type" = 'Individual' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", 2], ["business_party_type", "Individual"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 17"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '_business' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 ContactPurpose Load (0.1ms) SELECT "contact_purposes".* FROM "contact_purposes" WHERE "contact_purposes"."internal_identifier" = '' LIMIT 1 SQL (0.5ms) INSERT INTO "parties" ("business_party_id", "business_party_type", "created_at", "description", "enterprise_identifier", "list_view_image_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["business_party_id", nil], ["business_party_type", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "party 18"], ["enterprise_identifier", nil], ["list_view_image_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 25"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_25"], ["lft", 1], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 26"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_26"], ["lft", 3], ["parent_id", nil], ["rgt", 4], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 27"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_27"], ["lft", 5], ["parent_id", nil], ["rgt", 6], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RoleType Load (0.1ms) SELECT "role_types".* FROM "role_types" ORDER BY "rgt" desc LIMIT 1 SQL (60.8ms) INSERT INTO "role_types" ("comments", "created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "parent_id", "rgt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["comments", "A test role automatically created by Factory Girl"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "test role 28"], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "test_role_28"], ["lft", 7], ["parent_id", nil], ["rgt", 8], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 RelationshipType Load (0.1ms) SELECT "relationship_types".* FROM "relationship_types" ORDER BY "rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "relationship_types" ("created_at", "description", "external_id_source", "external_identifier", "internal_identifier", "lft", "name", "parent_id", "rgt", "updated_at", "valid_from_role_type_id", "valid_to_role_type_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["external_id_source", nil], ["external_identifier", nil], ["internal_identifier", "party relationship 6"], ["lft", 1], ["name", "A relationship type"], ["parent_id", nil], ["rgt", 2], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["valid_from_role_type_id", 3], ["valid_to_role_type_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "party_relationships" ("created_at", "description", "external_id_source", "external_identifier", "from_date", "party_id_from", "party_id_to", "priority_type_id", "relationship_type_id", "role_type_id_from", "role_type_id_to", "status_type_id", "thru_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "A Party Relationship"], ["external_id_source", nil], ["external_identifier", nil], ["from_date", nil], ["party_id_from", 4], ["party_id_to", 5], ["priority_type_id", nil], ["relationship_type_id", 1], ["role_type_id_from", 1], ["role_type_id_to", 2], ["status_type_id", nil], ["thru_date", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE "party_relationships"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "party_relationships" WHERE "party_relationships"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 PartyRelationship Load (0.1ms) SELECT "party_relationships".* FROM "party_relationships" WHERE (party_id_from = 4)  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) SELECT 1 FROM "applications" WHERE "applications"."javascript_class_name" = '' LIMIT 1  (0.1ms) SELECT 1 FROM "applications" WHERE ("applications"."internal_identifier" = '' AND "applications"."type" = 'OrganizerApplication') LIMIT 1 SQL (0.9ms) INSERT INTO "applications" ("created_at", "description", "icon", "internal_identifier", "javascript_class_name", "resource_loader", "shortcut_id", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", nil], ["javascript_class_name", nil], ["resource_loader", "ErpApp::ApplicationResourceLoader::FileSystemLoader"], ["shortcut_id", nil], ["type", "OrganizerApplication"], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 6], ["capable_model_record_type", "Application"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.6ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preference_options" ("created_at", "description", "internal_identifier", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["value", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["preference_option_id", nil], ["preference_type_id", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "preference_types" ("created_at", "default_pref_option_id", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["default_pref_option_id", nil], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["preference_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", nil], ["preferenced_record_id", nil], ["preferenced_record_type", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "capability_types" ("created_at", "description", "internal_identifier", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", "Test Type"], ["internal_identifier", "test_type"], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]]  (0.1ms) SELECT 1 FROM "widgets" WHERE "widgets"."xtype" = '' LIMIT 1  (0.0ms) SELECT 1 FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 SQL (0.6ms) INSERT INTO "widgets" ("created_at", "description", "icon", "internal_identifier", "updated_at", "xtype") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["icon", nil], ["internal_identifier", "test_widget"], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["xtype", nil]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["secured_record_id", 11], ["secured_record_type", "Widget"], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.2ms) INSERT INTO "capable_models" ("capable_model_record_id", "capable_model_record_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capable_model_record_id", 11], ["capable_model_record_type", "Widget"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin_test' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["crypted_password", nil], ["email", "admin@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["username", "admin_test"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:00 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.010607' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.022614' WHERE "user_preferences"."id" = 8  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:46:01.023606' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.039197' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:46:01.040192' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.2ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (20, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20 Widget Load (0.2ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'employee@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'employee_test' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["crypted_password", nil], ["email", "employee@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["username", "employee_test"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.186933' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.198966' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:46:01.200069' WHERE "app_containers"."id" = 5 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.215880' WHERE "user_preferences"."id" = 9  (0.0ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:46:01.216887' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin_test' LIMIT 1 SQL (1.3ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["crypted_password", nil], ["email", "admin@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["username", "admin_test"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["secured_record_id", 4], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 4], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 4 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 4], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.7ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 10], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 4]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 7, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.296715' WHERE "user_preferences"."id" = 10 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 4 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 4], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 11], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 4]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 7, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.311118' WHERE "user_preferences"."id" = 11  (0.1ms) UPDATE "app_containers" SET "user_id" = 4, "updated_at" = '2011-12-14 18:46:01.312113' WHERE "app_containers"."id" = 7 SQL (0.1ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 4], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 4 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 4 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 4], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 12], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 4]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 8, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.328606' WHERE "user_preferences"."id" = 12  (0.0ms) UPDATE "app_containers" SET "user_id" = 4, "updated_at" = '2011-12-14 18:46:01.329555' WHERE "app_containers"."id" = 8  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (20, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 21  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (21, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 21 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 21 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE "widgets"."internal_identifier" = 'test_widget' LIMIT 1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."email" = 'admin@gmail.com' LIMIT 1  (0.0ms) SELECT 1 FROM "users" WHERE "users"."username" = 'admin_test' LIMIT 1 SQL (1.6ms) INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "created_at", "crypted_password", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "party_id", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "type", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["activation_state", nil], ["activation_token", nil], ["activation_token_expires_at", nil], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["crypted_password", nil], ["email", "admin@gmail.com"], ["failed_logins_count", 0], ["last_activity_at", nil], ["last_login_at", nil], ["last_logout_at", nil], ["lock_expires_at", nil], ["party_id", nil], ["remember_me_token", nil], ["remember_me_token_expires_at", nil], ["reset_password_email_sent_at", nil], ["reset_password_token", nil], ["reset_password_token_expires_at", nil], ["salt", nil], ["type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["username", "admin_test"]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["secured_record_id", 3], ["secured_record_type", "User"], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.1ms) INSERT INTO "desktops" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Desktop"], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'desktop_background') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 1 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 1 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 1], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'portablemind_desktop_background') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 7], ["preference_type_id", 1], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 7], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.368954' WHERE "user_preferences"."id" = 7 PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Desktop"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.1ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.3ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 8], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 5, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.380811' WHERE "user_preferences"."id" = 8  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:46:01.381827' WHERE "app_containers"."id" = 5 SQL (0.2ms) INSERT INTO "organizers" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.5ms) INSERT INTO "app_containers" ("app_container_record_id", "app_container_record_type", "created_at", "description", "internal_identifier", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["app_container_record_id", 3], ["app_container_record_type", "Organizer"], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["description", nil], ["internal_identifier", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", nil]] PreferenceType Load (0.1ms) SELECT "preference_types".* FROM "preference_types" WHERE (internal_identifier = 'extjs_theme') LIMIT 1 AppContainer Load (0.1ms) SELECT "app_containers".* FROM "app_containers" INNER JOIN "valid_preference_types" ON "app_containers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'AppContainer') Desktop Load (0.1ms) SELECT "desktops".* FROM "desktops" INNER JOIN "valid_preference_types" ON "desktops"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Desktop') Organizer Load (0.1ms) SELECT "organizers".* FROM "organizers" INNER JOIN "valid_preference_types" ON "organizers"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Organizer') Application Load (0.1ms) SELECT "applications".* FROM "applications" INNER JOIN "valid_preference_types" ON "applications"."id" = "valid_preference_types"."preferenced_record_id" WHERE "valid_preference_types"."preference_type_id" = 2 AND (valid_preference_types.preferenced_record_type = 'Application') ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Desktop') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 1 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 2 and preferenced_record_type = 'Organizer') LIMIT 1 ValidPreferenceType Load (0.1ms) SELECT "valid_preference_types".* FROM "valid_preference_types" WHERE "valid_preference_types"."preference_type_id" = 2 AND (preferenced_record_id = 3 and preferenced_record_type = 'Organizer') LIMIT 1 SQL (0.1ms) INSERT INTO "valid_preference_types" ("preference_type_id", "preferenced_record_id", "preferenced_record_type") VALUES (?, ?, ?) [["preference_type_id", 2], ["preferenced_record_id", 3], ["preferenced_record_type", "Organizer"]] PreferenceOption Load (0.1ms) SELECT "preference_options".* FROM "preference_options" WHERE (internal_identifier = 'blue_extjs_theme') LIMIT 1 SQL (0.2ms) INSERT INTO "preferences" ("created_at", "preference_option_id", "preference_type_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_option_id", 10], ["preference_type_id", 2], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.4ms) INSERT INTO "user_preferences" ("created_at", "preference_id", "preferenced_record_id", "preferenced_record_type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["preference_id", 9], ["preferenced_record_id", nil], ["preferenced_record_type", nil], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["user_id", 3]]  (0.1ms) UPDATE "user_preferences" SET "preferenced_record_id" = 6, "preferenced_record_type" = 'AppContainer', "updated_at" = '2011-12-14 18:46:01.397586' WHERE "user_preferences"."id" = 9  (0.1ms) UPDATE "app_containers" SET "user_id" = 3, "updated_at" = '2011-12-14 18:46:01.398673' WHERE "app_containers"."id" = 6  (0.1ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 19  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (19, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "capabilities" ("capability_type_id", "created_at", "resource", "updated_at") VALUES (?, ?, ?, ?) [["capability_type_id", 5], ["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["resource", "Note"], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]] SQL (0.2ms) INSERT INTO "secured_models" ("created_at", "secured_record_id", "secured_record_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00], ["secured_record_id", 6], ["secured_record_type", "Capability"], ["updated_at", Wed, 14 Dec 2011 18:46:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."internal_identifier" = 'admin' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "roles_secured_models" ("secured_model_id", "role_id") VALUES (20, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) INSERT INTO "capabilities_capable_models" ("capable_model_id", "capability_id") VALUES (16, 6)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1  (0.0ms) SAVEPOINT active_record_1 CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" INNER JOIN "capabilities_capable_models" ON "capable_models"."id" = "capabilities_capable_models"."capable_model_id" WHERE "capabilities_capable_models"."capability_id" = 6  (0.2ms) DELETE FROM "capabilities_capable_models" WHERE "capabilities_capable_models"."capability_id" = 6 AND "capabilities_capable_models"."capable_model_id" IN (16) SQL (0.1ms) DELETE FROM "capabilities" WHERE "capabilities"."id" = ? [["id", 6]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 6 AND "secured_models"."secured_record_type" = 'Capability' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 20  (0.1ms) DELETE FROM "roles_secured_models" WHERE "roles_secured_models"."secured_model_id" = 20 AND "roles_secured_models"."role_id" IN (1) SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 20]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE "capability_types"."internal_identifier" = 'test_type' LIMIT 1 Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 AND (capability_type_id = 5 and resource = 'Note') LIMIT 1 Widget Load (0.1ms) SELECT "widgets".* FROM "widgets" WHERE (internal_identifier = 'test_widget') CapableModel Load (0.1ms) SELECT "capable_models".* FROM "capable_models" WHERE "capable_models"."capable_model_record_id" = 11 AND "capable_models"."capable_model_record_type" = 'Widget' LIMIT 1 Application Load (0.2ms) SELECT "applications".* FROM "applications" INNER JOIN "applications_widgets" ON "applications"."id" = "applications_widgets"."application_id" WHERE "applications_widgets"."widget_id" = 11 SQL (0.2ms) DELETE FROM "widgets" WHERE "widgets"."id" = ? [["id", 11]] SecuredModel Load (0.1ms) SELECT "secured_models".* FROM "secured_models" WHERE "secured_models"."secured_record_id" = 11 AND "secured_models"."secured_record_type" = 'Widget' LIMIT 1 Role Load (0.1ms) SELECT "roles".* FROM "roles" INNER JOIN "roles_secured_models" ON "roles"."id" = "roles_secured_models"."role_id" WHERE "roles_secured_models"."secured_model_id" = 18 SQL (0.1ms) DELETE FROM "secured_models" WHERE "secured_models"."id" = ? [["id", 18]] Capability Load (0.1ms) SELECT "capabilities".* FROM "capabilities" INNER JOIN "capabilities_capable_models" ON "capabilities"."id" = "capabilities_capable_models"."capability_id" WHERE "capabilities_capable_models"."capable_model_id" = 16 SQL (0.1ms) DELETE FROM "capable_models" WHERE "capable_models"."id" = ? [["id", 16]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE (username = 'admin_test') User Load (0.1ms) SELECT "users".* FROM "users" WHERE (username = 'employee_test') CapabilityType Load (0.1ms) SELECT "capability_types".* FROM "capability_types" WHERE (internal_identifier = 'test_type') SQL (0.2ms) DELETE FROM "capability_types" WHERE "capability_types"."id" = ? [["id", 5]]